
var Convert={IsErrorEventHandler:function(javascriptObject)
{return CheckConvertIs(",ErrorEventHandler,",javascriptObject,true);},ToErrorEventHandler:function(javascriptObject)
{if(!Convert.IsErrorEventHandler(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ErrorEventHandler(javascriptObject.element)
else
return new ErrorEventHandler(javascriptObject);}},IsParserErrorEventHandler:function(javascriptObject)
{return CheckConvertIs(",ParserErrorEventHandler,",javascriptObject,true);},ToParserErrorEventHandler:function(javascriptObject)
{if(!Convert.IsParserErrorEventHandler(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ParserErrorEventHandler(javascriptObject.element)
else
return new ParserErrorEventHandler(javascriptObject);}},IsRuntimeErrorEventHandler:function(javascriptObject)
{return CheckConvertIs(",RuntimeErrorEventHandler,",javascriptObject,true);},ToRuntimeErrorEventHandler:function(javascriptObject)
{if(!Convert.IsRuntimeErrorEventHandler(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new RuntimeErrorEventHandler(javascriptObject.element)
else
return new RuntimeErrorEventHandler(javascriptObject);}},IsTextWrapping:function(javascriptObject)
{return CheckConvertIs(",TextWrapping,",javascriptObject,true);},ToTextWrapping:function(javascriptObject)
{if(!Convert.IsTextWrapping(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TextWrapping(javascriptObject.element)
else
return new TextWrapping(javascriptObject);}},IsFontWeights:function(javascriptObject)
{return CheckConvertIs(",FontWeights,",javascriptObject,true);},ToFontWeights:function(javascriptObject)
{if(!Convert.IsFontWeights(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new FontWeights(javascriptObject.element)
else
return new FontWeights(javascriptObject);}},IsFontStyles:function(javascriptObject)
{return CheckConvertIs(",FontStyles,",javascriptObject,true);},ToFontStyles:function(javascriptObject)
{if(!Convert.IsFontStyles(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new FontStyles(javascriptObject.element)
else
return new FontStyles(javascriptObject);}},IsStyleSimulations:function(javascriptObject)
{return CheckConvertIs(",StyleSimulations,",javascriptObject,true);},ToStyleSimulations:function(javascriptObject)
{if(!Convert.IsStyleSimulations(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new StyleSimulations(javascriptObject.element)
else
return new StyleSimulations(javascriptObject);}},IsTextDecorations:function(javascriptObject)
{return CheckConvertIs(",TextDecorations,",javascriptObject,true);},ToTextDecorations:function(javascriptObject)
{if(!Convert.IsTextDecorations(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TextDecorations(javascriptObject.element)
else
return new TextDecorations(javascriptObject);}},IsFontStretches:function(javascriptObject)
{return CheckConvertIs(",FontStretches,",javascriptObject,true);},ToFontStretches:function(javascriptObject)
{if(!Convert.IsFontStretches(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new FontStretches(javascriptObject.element)
else
return new FontStretches(javascriptObject);}},IsVisibility:function(javascriptObject)
{return CheckConvertIs(",Visibility,",javascriptObject,true);},ToVisibility:function(javascriptObject)
{if(!Convert.IsVisibility(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Visibility(javascriptObject.element)
else
return new Visibility(javascriptObject);}},IsErrorType:function(javascriptObject)
{return CheckConvertIs(",ErrorType,",javascriptObject,true);},ToErrorType:function(javascriptObject)
{if(!Convert.IsErrorType(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ErrorType(javascriptObject.element)
else
return new ErrorType(javascriptObject);}},IsDependencyObject:function(javascriptObject)
{return CheckConvertIs(",DependencyObject,Visual,UIElement,FrameworkElement,Collection,Inlines,TriggerCollection,EventTrigger,TriggerActionCollection,Downloader,ResourceDictionary,Stroke,StrokeCollection,DrawingAttributes,Transform,PathSegment,Brush,TileBrush,Geometry,RotateTransform,ScaleTransform,SkewTransform,TranslateTransform,TransformCollection,TransformGroup,MatrixTransform,LineSegment,BezierSegment,QuadraticBezierSegment,ArcSegment,PolyLineSegment,PolyBezierSegment,PolyQuadraticBezierSegment,PathSegmentCollection,PathFigure,PathFigureCollection,PathGeometry,EllipseGeometry,RectangleGeometry,LineGeometry,GeometryCollection,GeometryGroup,SolidColorBrush,GradientStop,GradientStopCollection,GradientBrush,LinearGradientBrush,RadialGradientBrush,ImageBrush,VideoBrush,VisualCollection,TimelineCollection,MediaAttribute,MediaAttributeCollection,Timeline,TimelineGroup,ParallelTimeline,BeginStoryboard,Storyboard,Animation,DoubleAnimation,ColorAnimation,PointAnimation,KeySpline,KeyFrame,ColorKeyFrameCollection,DoubleKeyFrameCollection,PointKeyFrameCollection,DoubleAnimationUsingKeyFrames,DoubleKeyFrame,DiscreteDoubleKeyFrame,LinearDoubleKeyFrame,SplineDoubleKeyFrame,ColorAnimationUsingKeyFrames,ColorKeyFrame,DiscreteColorKeyFrame,LinearColorKeyFrame,SplineColorKeyFrame,PointAnimationUsingKeyFrames,PointKeyFrame,DiscretePointKeyFrame,LinearPointKeyFrame,SplinePointKeyFrame,TimelineMarker,TimelineMarkerCollection,StylusPoint,StylusPointCollection,StylusInfo,Shape,Path,Ellipse,Line,Polygon,Polyline,Rectangle,Inline,Glyphs,Run,LineBreak,Panel,MediaBase,ImageSL,Canvas,TextBlock,MediaElement,InkPresenter,Control,",javascriptObject,true);},ToDependencyObject:function(javascriptObject)
{if(!Convert.IsDependencyObject(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new DependencyObject(javascriptObject.element)
else
return new DependencyObject(javascriptObject);}},IsVisual:function(javascriptObject)
{return CheckConvertIs(",Visual,UIElement,FrameworkElement,Shape,Path,Ellipse,Line,Polygon,Polyline,Rectangle,Glyphs,Panel,MediaBase,ImageSL,Canvas,TextBlock,MediaElement,InkPresenter,Control,",javascriptObject,false);},ToVisual:function(javascriptObject)
{if(!Convert.IsVisual(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Visual(javascriptObject.element)
else
return new Visual(javascriptObject);}},IsUIElement:function(javascriptObject)
{return CheckConvertIs(",UIElement,FrameworkElement,Shape,Path,Ellipse,Line,Polygon,Polyline,Rectangle,Glyphs,Panel,MediaBase,ImageSL,Canvas,TextBlock,MediaElement,InkPresenter,Control,",javascriptObject,false);},ToUIElement:function(javascriptObject)
{if(!Convert.IsUIElement(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new UIElement(javascriptObject.element)
else
return new UIElement(javascriptObject);}},IsFrameworkElement:function(javascriptObject)
{return CheckConvertIs(",FrameworkElement,Shape,Path,Ellipse,Line,Polygon,Polyline,Rectangle,Glyphs,Panel,MediaBase,ImageSL,Canvas,TextBlock,MediaElement,InkPresenter,Control,",javascriptObject,false);},ToFrameworkElement:function(javascriptObject)
{if(!Convert.IsFrameworkElement(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new FrameworkElement(javascriptObject.element)
else
return new FrameworkElement(javascriptObject);}},IsCollection:function(javascriptObject)
{return CheckConvertIs(",Collection,",javascriptObject,false);},ToCollection:function(javascriptObject)
{if(!Convert.IsCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Collection(javascriptObject.element)
else
return new Collection(javascriptObject);}},IsInlines:function(javascriptObject)
{return CheckConvertIs(",Inlines,",javascriptObject,false);},ToInlines:function(javascriptObject)
{if(!Convert.IsInlines(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Inlines(javascriptObject.element)
else
return new Inlines(javascriptObject);}},IsTriggerCollection:function(javascriptObject)
{return CheckConvertIs(",TriggerCollection,",javascriptObject,false);},ToTriggerCollection:function(javascriptObject)
{if(!Convert.IsTriggerCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TriggerCollection(javascriptObject.element)
else
return new TriggerCollection(javascriptObject);}},IsEventTrigger:function(javascriptObject)
{return CheckConvertIs(",EventTrigger,",javascriptObject,false);},ToEventTrigger:function(javascriptObject)
{if(!Convert.IsEventTrigger(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new EventTrigger(javascriptObject.element)
else
return new EventTrigger(javascriptObject);}},IsTriggerActionCollection:function(javascriptObject)
{return CheckConvertIs(",TriggerActionCollection,",javascriptObject,false);},ToTriggerActionCollection:function(javascriptObject)
{if(!Convert.IsTriggerActionCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TriggerActionCollection(javascriptObject.element)
else
return new TriggerActionCollection(javascriptObject);}},IsErrorEventArgs:function(javascriptObject)
{return CheckConvertIs(",ErrorEventArgs,ParserErrorEventArgs,RuntimeErrorEventArgs,",javascriptObject,true);},ToErrorEventArgs:function(javascriptObject)
{if(!Convert.IsErrorEventArgs(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ErrorEventArgs(javascriptObject.element)
else
return new ErrorEventArgs(javascriptObject);}},IsParserErrorEventArgs:function(javascriptObject)
{return CheckConvertIs(",ParserErrorEventArgs,",javascriptObject,true);},ToParserErrorEventArgs:function(javascriptObject)
{if(!Convert.IsParserErrorEventArgs(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ParserErrorEventArgs(javascriptObject.element)
else
return new ParserErrorEventArgs(javascriptObject);}},IsRuntimeErrorEventArgs:function(javascriptObject)
{return CheckConvertIs(",RuntimeErrorEventArgs,",javascriptObject,true);},ToRuntimeErrorEventArgs:function(javascriptObject)
{if(!Convert.IsRuntimeErrorEventArgs(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new RuntimeErrorEventArgs(javascriptObject.element)
else
return new RuntimeErrorEventArgs(javascriptObject);}},IsDownloader:function(javascriptObject)
{return CheckConvertIs(",Downloader,",javascriptObject,false);},ToDownloader:function(javascriptObject)
{if(!Convert.IsDownloader(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Downloader(javascriptObject.element)
else
return new Downloader(javascriptObject);}},IsResourceDictionary:function(javascriptObject)
{return CheckConvertIs(",ResourceDictionary,",javascriptObject,false);},ToResourceDictionary:function(javascriptObject)
{if(!Convert.IsResourceDictionary(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ResourceDictionary(javascriptObject.element)
else
return new ResourceDictionary(javascriptObject);}},IsStroke:function(javascriptObject)
{return CheckConvertIs(",Stroke,",javascriptObject,false);},ToStroke:function(javascriptObject)
{if(!Convert.IsStroke(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Stroke(javascriptObject.element)
else
return new Stroke(javascriptObject);}},IsStrokeCollection:function(javascriptObject)
{return CheckConvertIs(",StrokeCollection,",javascriptObject,false);},ToStrokeCollection:function(javascriptObject)
{if(!Convert.IsStrokeCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new StrokeCollection(javascriptObject.element)
else
return new StrokeCollection(javascriptObject);}},IsDrawingAttributes:function(javascriptObject)
{return CheckConvertIs(",DrawingAttributes,",javascriptObject,false);},ToDrawingAttributes:function(javascriptObject)
{if(!Convert.IsDrawingAttributes(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new DrawingAttributes(javascriptObject.element)
else
return new DrawingAttributes(javascriptObject);}},IsFillRule:function(javascriptObject)
{return CheckConvertIs(",FillRule,",javascriptObject,true);},ToFillRule:function(javascriptObject)
{if(!Convert.IsFillRule(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new FillRule(javascriptObject.element)
else
return new FillRule(javascriptObject);}},IsSweepDirection:function(javascriptObject)
{return CheckConvertIs(",SweepDirection,",javascriptObject,true);},ToSweepDirection:function(javascriptObject)
{if(!Convert.IsSweepDirection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new SweepDirection(javascriptObject.element)
else
return new SweepDirection(javascriptObject);}},IsGradientSpreadMethod:function(javascriptObject)
{return CheckConvertIs(",GradientSpreadMethod,",javascriptObject,true);},ToGradientSpreadMethod:function(javascriptObject)
{if(!Convert.IsGradientSpreadMethod(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new GradientSpreadMethod(javascriptObject.element)
else
return new GradientSpreadMethod(javascriptObject);}},IsColorInterpolationMode:function(javascriptObject)
{return CheckConvertIs(",ColorInterpolationMode,",javascriptObject,true);},ToColorInterpolationMode:function(javascriptObject)
{if(!Convert.IsColorInterpolationMode(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ColorInterpolationMode(javascriptObject.element)
else
return new ColorInterpolationMode(javascriptObject);}},IsBrushMappingMode:function(javascriptObject)
{return CheckConvertIs(",BrushMappingMode,",javascriptObject,true);},ToBrushMappingMode:function(javascriptObject)
{if(!Convert.IsBrushMappingMode(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new BrushMappingMode(javascriptObject.element)
else
return new BrushMappingMode(javascriptObject);}},IsAlignmentX:function(javascriptObject)
{return CheckConvertIs(",AlignmentX,",javascriptObject,true);},ToAlignmentX:function(javascriptObject)
{if(!Convert.IsAlignmentX(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new AlignmentX(javascriptObject.element)
else
return new AlignmentX(javascriptObject);}},IsAlignmentY:function(javascriptObject)
{return CheckConvertIs(",AlignmentY,",javascriptObject,true);},ToAlignmentY:function(javascriptObject)
{if(!Convert.IsAlignmentY(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new AlignmentY(javascriptObject.element)
else
return new AlignmentY(javascriptObject);}},IsStretch:function(javascriptObject)
{return CheckConvertIs(",Stretch,",javascriptObject,true);},ToStretch:function(javascriptObject)
{if(!Convert.IsStretch(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Stretch(javascriptObject.element)
else
return new Stretch(javascriptObject);}},IsPenLineCap:function(javascriptObject)
{return CheckConvertIs(",PenLineCap,",javascriptObject,true);},ToPenLineCap:function(javascriptObject)
{if(!Convert.IsPenLineCap(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new PenLineCap(javascriptObject.element)
else
return new PenLineCap(javascriptObject);}},IsPenLineJoin:function(javascriptObject)
{return CheckConvertIs(",PenLineJoin,",javascriptObject,true);},ToPenLineJoin:function(javascriptObject)
{if(!Convert.IsPenLineJoin(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new PenLineJoin(javascriptObject.element)
else
return new PenLineJoin(javascriptObject);}},IsTransform:function(javascriptObject)
{return CheckConvertIs(",Transform,RotateTransform,ScaleTransform,SkewTransform,TranslateTransform,TransformGroup,MatrixTransform,",javascriptObject,false);},ToTransform:function(javascriptObject)
{if(!Convert.IsTransform(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Transform(javascriptObject.element)
else
return new Transform(javascriptObject);}},IsPathSegment:function(javascriptObject)
{return CheckConvertIs(",PathSegment,LineSegment,BezierSegment,QuadraticBezierSegment,ArcSegment,PolyLineSegment,PolyBezierSegment,PolyQuadraticBezierSegment,",javascriptObject,false);},ToPathSegment:function(javascriptObject)
{if(!Convert.IsPathSegment(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new PathSegment(javascriptObject.element)
else
return new PathSegment(javascriptObject);}},IsBrush:function(javascriptObject)
{return CheckConvertIs(",Brush,TileBrush,SolidColorBrush,GradientBrush,LinearGradientBrush,RadialGradientBrush,ImageBrush,VideoBrush,",javascriptObject,false);},ToBrush:function(javascriptObject)
{if(!Convert.IsBrush(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Brush(javascriptObject.element)
else
return new Brush(javascriptObject);}},IsTileBrush:function(javascriptObject)
{return CheckConvertIs(",TileBrush,ImageBrush,VideoBrush,",javascriptObject,false);},ToTileBrush:function(javascriptObject)
{if(!Convert.IsTileBrush(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TileBrush(javascriptObject.element)
else
return new TileBrush(javascriptObject);}},IsGeometry:function(javascriptObject)
{return CheckConvertIs(",Geometry,PathGeometry,EllipseGeometry,RectangleGeometry,LineGeometry,GeometryGroup,",javascriptObject,false);},ToGeometry:function(javascriptObject)
{if(!Convert.IsGeometry(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Geometry(javascriptObject.element)
else
return new Geometry(javascriptObject);}},IsRotateTransform:function(javascriptObject)
{return CheckConvertIs(",RotateTransform,",javascriptObject,false);},ToRotateTransform:function(javascriptObject)
{if(!Convert.IsRotateTransform(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new RotateTransform(javascriptObject.element)
else
return new RotateTransform(javascriptObject);}},IsScaleTransform:function(javascriptObject)
{return CheckConvertIs(",ScaleTransform,",javascriptObject,false);},ToScaleTransform:function(javascriptObject)
{if(!Convert.IsScaleTransform(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ScaleTransform(javascriptObject.element)
else
return new ScaleTransform(javascriptObject);}},IsSkewTransform:function(javascriptObject)
{return CheckConvertIs(",SkewTransform,",javascriptObject,false);},ToSkewTransform:function(javascriptObject)
{if(!Convert.IsSkewTransform(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new SkewTransform(javascriptObject.element)
else
return new SkewTransform(javascriptObject);}},IsTranslateTransform:function(javascriptObject)
{return CheckConvertIs(",TranslateTransform,",javascriptObject,false);},ToTranslateTransform:function(javascriptObject)
{if(!Convert.IsTranslateTransform(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TranslateTransform(javascriptObject.element)
else
return new TranslateTransform(javascriptObject);}},IsTransformCollection:function(javascriptObject)
{return CheckConvertIs(",TransformCollection,",javascriptObject,false);},ToTransformCollection:function(javascriptObject)
{if(!Convert.IsTransformCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TransformCollection(javascriptObject.element)
else
return new TransformCollection(javascriptObject);}},IsTransformGroup:function(javascriptObject)
{return CheckConvertIs(",TransformGroup,",javascriptObject,false);},ToTransformGroup:function(javascriptObject)
{if(!Convert.IsTransformGroup(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TransformGroup(javascriptObject.element)
else
return new TransformGroup(javascriptObject);}},IsMatrixTransform:function(javascriptObject)
{return CheckConvertIs(",MatrixTransform,",javascriptObject,false);},ToMatrixTransform:function(javascriptObject)
{if(!Convert.IsMatrixTransform(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new MatrixTransform(javascriptObject.element)
else
return new MatrixTransform(javascriptObject);}},IsLineSegment:function(javascriptObject)
{return CheckConvertIs(",LineSegment,",javascriptObject,false);},ToLineSegment:function(javascriptObject)
{if(!Convert.IsLineSegment(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new LineSegment(javascriptObject.element)
else
return new LineSegment(javascriptObject);}},IsBezierSegment:function(javascriptObject)
{return CheckConvertIs(",BezierSegment,",javascriptObject,false);},ToBezierSegment:function(javascriptObject)
{if(!Convert.IsBezierSegment(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new BezierSegment(javascriptObject.element)
else
return new BezierSegment(javascriptObject);}},IsQuadraticBezierSegment:function(javascriptObject)
{return CheckConvertIs(",QuadraticBezierSegment,",javascriptObject,false);},ToQuadraticBezierSegment:function(javascriptObject)
{if(!Convert.IsQuadraticBezierSegment(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new QuadraticBezierSegment(javascriptObject.element)
else
return new QuadraticBezierSegment(javascriptObject);}},IsArcSegment:function(javascriptObject)
{return CheckConvertIs(",ArcSegment,",javascriptObject,false);},ToArcSegment:function(javascriptObject)
{if(!Convert.IsArcSegment(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ArcSegment(javascriptObject.element)
else
return new ArcSegment(javascriptObject);}},IsPolyLineSegment:function(javascriptObject)
{return CheckConvertIs(",PolyLineSegment,",javascriptObject,false);},ToPolyLineSegment:function(javascriptObject)
{if(!Convert.IsPolyLineSegment(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new PolyLineSegment(javascriptObject.element)
else
return new PolyLineSegment(javascriptObject);}},IsPolyBezierSegment:function(javascriptObject)
{return CheckConvertIs(",PolyBezierSegment,",javascriptObject,false);},ToPolyBezierSegment:function(javascriptObject)
{if(!Convert.IsPolyBezierSegment(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new PolyBezierSegment(javascriptObject.element)
else
return new PolyBezierSegment(javascriptObject);}},IsPolyQuadraticBezierSegment:function(javascriptObject)
{return CheckConvertIs(",PolyQuadraticBezierSegment,",javascriptObject,false);},ToPolyQuadraticBezierSegment:function(javascriptObject)
{if(!Convert.IsPolyQuadraticBezierSegment(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new PolyQuadraticBezierSegment(javascriptObject.element)
else
return new PolyQuadraticBezierSegment(javascriptObject);}},IsPathSegmentCollection:function(javascriptObject)
{return CheckConvertIs(",PathSegmentCollection,",javascriptObject,false);},ToPathSegmentCollection:function(javascriptObject)
{if(!Convert.IsPathSegmentCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new PathSegmentCollection(javascriptObject.element)
else
return new PathSegmentCollection(javascriptObject);}},IsPathFigure:function(javascriptObject)
{return CheckConvertIs(",PathFigure,",javascriptObject,false);},ToPathFigure:function(javascriptObject)
{if(!Convert.IsPathFigure(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new PathFigure(javascriptObject.element)
else
return new PathFigure(javascriptObject);}},IsPathFigureCollection:function(javascriptObject)
{return CheckConvertIs(",PathFigureCollection,",javascriptObject,false);},ToPathFigureCollection:function(javascriptObject)
{if(!Convert.IsPathFigureCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new PathFigureCollection(javascriptObject.element)
else
return new PathFigureCollection(javascriptObject);}},IsPathGeometry:function(javascriptObject)
{return CheckConvertIs(",PathGeometry,",javascriptObject,false);},ToPathGeometry:function(javascriptObject)
{if(!Convert.IsPathGeometry(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new PathGeometry(javascriptObject.element)
else
return new PathGeometry(javascriptObject);}},IsEllipseGeometry:function(javascriptObject)
{return CheckConvertIs(",EllipseGeometry,",javascriptObject,false);},ToEllipseGeometry:function(javascriptObject)
{if(!Convert.IsEllipseGeometry(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new EllipseGeometry(javascriptObject.element)
else
return new EllipseGeometry(javascriptObject);}},IsRectangleGeometry:function(javascriptObject)
{return CheckConvertIs(",RectangleGeometry,",javascriptObject,false);},ToRectangleGeometry:function(javascriptObject)
{if(!Convert.IsRectangleGeometry(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new RectangleGeometry(javascriptObject.element)
else
return new RectangleGeometry(javascriptObject);}},IsLineGeometry:function(javascriptObject)
{return CheckConvertIs(",LineGeometry,",javascriptObject,false);},ToLineGeometry:function(javascriptObject)
{if(!Convert.IsLineGeometry(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new LineGeometry(javascriptObject.element)
else
return new LineGeometry(javascriptObject);}},IsGeometryCollection:function(javascriptObject)
{return CheckConvertIs(",GeometryCollection,",javascriptObject,false);},ToGeometryCollection:function(javascriptObject)
{if(!Convert.IsGeometryCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new GeometryCollection(javascriptObject.element)
else
return new GeometryCollection(javascriptObject);}},IsGeometryGroup:function(javascriptObject)
{return CheckConvertIs(",GeometryGroup,",javascriptObject,false);},ToGeometryGroup:function(javascriptObject)
{if(!Convert.IsGeometryGroup(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new GeometryGroup(javascriptObject.element)
else
return new GeometryGroup(javascriptObject);}},IsSolidColorBrush:function(javascriptObject)
{return CheckConvertIs(",SolidColorBrush,",javascriptObject,false);},ToSolidColorBrush:function(javascriptObject)
{if(!Convert.IsSolidColorBrush(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new SolidColorBrush(javascriptObject.element)
else
return new SolidColorBrush(javascriptObject);}},IsGradientStop:function(javascriptObject)
{return CheckConvertIs(",GradientStop,",javascriptObject,false);},ToGradientStop:function(javascriptObject)
{if(!Convert.IsGradientStop(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new GradientStop(javascriptObject.element)
else
return new GradientStop(javascriptObject);}},IsGradientStopCollection:function(javascriptObject)
{return CheckConvertIs(",GradientStopCollection,",javascriptObject,false);},ToGradientStopCollection:function(javascriptObject)
{if(!Convert.IsGradientStopCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new GradientStopCollection(javascriptObject.element)
else
return new GradientStopCollection(javascriptObject);}},IsGradientBrush:function(javascriptObject)
{return CheckConvertIs(",GradientBrush,LinearGradientBrush,RadialGradientBrush,",javascriptObject,false);},ToGradientBrush:function(javascriptObject)
{if(!Convert.IsGradientBrush(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new GradientBrush(javascriptObject.element)
else
return new GradientBrush(javascriptObject);}},IsLinearGradientBrush:function(javascriptObject)
{return CheckConvertIs(",LinearGradientBrush,",javascriptObject,false);},ToLinearGradientBrush:function(javascriptObject)
{if(!Convert.IsLinearGradientBrush(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new LinearGradientBrush(javascriptObject.element)
else
return new LinearGradientBrush(javascriptObject);}},IsRadialGradientBrush:function(javascriptObject)
{return CheckConvertIs(",RadialGradientBrush,",javascriptObject,false);},ToRadialGradientBrush:function(javascriptObject)
{if(!Convert.IsRadialGradientBrush(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new RadialGradientBrush(javascriptObject.element)
else
return new RadialGradientBrush(javascriptObject);}},IsImageBrush:function(javascriptObject)
{return CheckConvertIs(",ImageBrush,",javascriptObject,false);},ToImageBrush:function(javascriptObject)
{if(!Convert.IsImageBrush(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ImageBrush(javascriptObject.element)
else
return new ImageBrush(javascriptObject);}},IsVideoBrush:function(javascriptObject)
{return CheckConvertIs(",VideoBrush,",javascriptObject,false);},ToVideoBrush:function(javascriptObject)
{if(!Convert.IsVideoBrush(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new VideoBrush(javascriptObject.element)
else
return new VideoBrush(javascriptObject);}},IsVisualCollection:function(javascriptObject)
{return CheckConvertIs(",VisualCollection,",javascriptObject,false);},ToVisualCollection:function(javascriptObject)
{if(!Convert.IsVisualCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new VisualCollection(javascriptObject.element)
else
return new VisualCollection(javascriptObject);}},IsTimelineCollection:function(javascriptObject)
{return CheckConvertIs(",TimelineCollection,",javascriptObject,false);},ToTimelineCollection:function(javascriptObject)
{if(!Convert.IsTimelineCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TimelineCollection(javascriptObject.element)
else
return new TimelineCollection(javascriptObject);}},IsMediaAttribute:function(javascriptObject)
{return CheckConvertIs(",MediaAttribute,",javascriptObject,false);},ToMediaAttribute:function(javascriptObject)
{if(!Convert.IsMediaAttribute(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new MediaAttribute(javascriptObject.element)
else
return new MediaAttribute(javascriptObject);}},IsMediaAttributeCollection:function(javascriptObject)
{return CheckConvertIs(",MediaAttributeCollection,",javascriptObject,false);},ToMediaAttributeCollection:function(javascriptObject)
{if(!Convert.IsMediaAttributeCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new MediaAttributeCollection(javascriptObject.element)
else
return new MediaAttributeCollection(javascriptObject);}},IsFillBehavior:function(javascriptObject)
{return CheckConvertIs(",FillBehavior,",javascriptObject,true);},ToFillBehavior:function(javascriptObject)
{if(!Convert.IsFillBehavior(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new FillBehavior(javascriptObject.element)
else
return new FillBehavior(javascriptObject);}},IsTimeline:function(javascriptObject)
{return CheckConvertIs(",Timeline,TimelineGroup,ParallelTimeline,Storyboard,Animation,DoubleAnimation,ColorAnimation,PointAnimation,DoubleAnimationUsingKeyFrames,ColorAnimationUsingKeyFrames,PointAnimationUsingKeyFrames,",javascriptObject,false);},ToTimeline:function(javascriptObject)
{if(!Convert.IsTimeline(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Timeline(javascriptObject.element)
else
return new Timeline(javascriptObject);}},IsTimelineGroup:function(javascriptObject)
{return CheckConvertIs(",TimelineGroup,ParallelTimeline,Storyboard,",javascriptObject,false);},ToTimelineGroup:function(javascriptObject)
{if(!Convert.IsTimelineGroup(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TimelineGroup(javascriptObject.element)
else
return new TimelineGroup(javascriptObject);}},IsParallelTimeline:function(javascriptObject)
{return CheckConvertIs(",ParallelTimeline,Storyboard,",javascriptObject,false);},ToParallelTimeline:function(javascriptObject)
{if(!Convert.IsParallelTimeline(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ParallelTimeline(javascriptObject.element)
else
return new ParallelTimeline(javascriptObject);}},IsBeginStoryboard:function(javascriptObject)
{return CheckConvertIs(",BeginStoryboard,",javascriptObject,false);},ToBeginStoryboard:function(javascriptObject)
{if(!Convert.IsBeginStoryboard(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new BeginStoryboard(javascriptObject.element)
else
return new BeginStoryboard(javascriptObject);}},IsStoryboard:function(javascriptObject)
{return CheckConvertIs(",Storyboard,",javascriptObject,false);},ToStoryboard:function(javascriptObject)
{if(!Convert.IsStoryboard(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Storyboard(javascriptObject.element)
else
return new Storyboard(javascriptObject);}},IsAnimation:function(javascriptObject)
{return CheckConvertIs(",Animation,DoubleAnimation,ColorAnimation,PointAnimation,DoubleAnimationUsingKeyFrames,ColorAnimationUsingKeyFrames,PointAnimationUsingKeyFrames,",javascriptObject,false);},ToAnimation:function(javascriptObject)
{if(!Convert.IsAnimation(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Animation(javascriptObject.element)
else
return new Animation(javascriptObject);}},IsDoubleAnimation:function(javascriptObject)
{return CheckConvertIs(",DoubleAnimation,DoubleAnimationUsingKeyFrames,",javascriptObject,false);},ToDoubleAnimation:function(javascriptObject)
{if(!Convert.IsDoubleAnimation(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new DoubleAnimation(javascriptObject.element)
else
return new DoubleAnimation(javascriptObject);}},IsColorAnimation:function(javascriptObject)
{return CheckConvertIs(",ColorAnimation,ColorAnimationUsingKeyFrames,",javascriptObject,false);},ToColorAnimation:function(javascriptObject)
{if(!Convert.IsColorAnimation(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ColorAnimation(javascriptObject.element)
else
return new ColorAnimation(javascriptObject);}},IsPointAnimation:function(javascriptObject)
{return CheckConvertIs(",PointAnimation,PointAnimationUsingKeyFrames,",javascriptObject,false);},ToPointAnimation:function(javascriptObject)
{if(!Convert.IsPointAnimation(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new PointAnimation(javascriptObject.element)
else
return new PointAnimation(javascriptObject);}},IsKeySpline:function(javascriptObject)
{return CheckConvertIs(",KeySpline,",javascriptObject,false);},ToKeySpline:function(javascriptObject)
{if(!Convert.IsKeySpline(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new KeySpline(javascriptObject.element)
else
return new KeySpline(javascriptObject);}},IsKeyFrame:function(javascriptObject)
{return CheckConvertIs(",KeyFrame,DoubleKeyFrame,DiscreteDoubleKeyFrame,LinearDoubleKeyFrame,SplineDoubleKeyFrame,ColorKeyFrame,DiscreteColorKeyFrame,LinearColorKeyFrame,SplineColorKeyFrame,PointKeyFrame,DiscretePointKeyFrame,LinearPointKeyFrame,SplinePointKeyFrame,",javascriptObject,false);},ToKeyFrame:function(javascriptObject)
{if(!Convert.IsKeyFrame(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new KeyFrame(javascriptObject.element)
else
return new KeyFrame(javascriptObject);}},IsColorKeyFrameCollection:function(javascriptObject)
{return CheckConvertIs(",ColorKeyFrameCollection,",javascriptObject,false);},ToColorKeyFrameCollection:function(javascriptObject)
{if(!Convert.IsColorKeyFrameCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ColorKeyFrameCollection(javascriptObject.element)
else
return new ColorKeyFrameCollection(javascriptObject);}},IsDoubleKeyFrameCollection:function(javascriptObject)
{return CheckConvertIs(",DoubleKeyFrameCollection,",javascriptObject,false);},ToDoubleKeyFrameCollection:function(javascriptObject)
{if(!Convert.IsDoubleKeyFrameCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new DoubleKeyFrameCollection(javascriptObject.element)
else
return new DoubleKeyFrameCollection(javascriptObject);}},IsPointKeyFrameCollection:function(javascriptObject)
{return CheckConvertIs(",PointKeyFrameCollection,",javascriptObject,false);},ToPointKeyFrameCollection:function(javascriptObject)
{if(!Convert.IsPointKeyFrameCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new PointKeyFrameCollection(javascriptObject.element)
else
return new PointKeyFrameCollection(javascriptObject);}},IsDoubleAnimationUsingKeyFrames:function(javascriptObject)
{return CheckConvertIs(",DoubleAnimationUsingKeyFrames,",javascriptObject,false);},ToDoubleAnimationUsingKeyFrames:function(javascriptObject)
{if(!Convert.IsDoubleAnimationUsingKeyFrames(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new DoubleAnimationUsingKeyFrames(javascriptObject.element)
else
return new DoubleAnimationUsingKeyFrames(javascriptObject);}},IsDoubleKeyFrame:function(javascriptObject)
{return CheckConvertIs(",DoubleKeyFrame,DiscreteDoubleKeyFrame,LinearDoubleKeyFrame,SplineDoubleKeyFrame,",javascriptObject,false);},ToDoubleKeyFrame:function(javascriptObject)
{if(!Convert.IsDoubleKeyFrame(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new DoubleKeyFrame(javascriptObject.element)
else
return new DoubleKeyFrame(javascriptObject);}},IsDiscreteDoubleKeyFrame:function(javascriptObject)
{return CheckConvertIs(",DiscreteDoubleKeyFrame,",javascriptObject,false);},ToDiscreteDoubleKeyFrame:function(javascriptObject)
{if(!Convert.IsDiscreteDoubleKeyFrame(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new DiscreteDoubleKeyFrame(javascriptObject.element)
else
return new DiscreteDoubleKeyFrame(javascriptObject);}},IsLinearDoubleKeyFrame:function(javascriptObject)
{return CheckConvertIs(",LinearDoubleKeyFrame,",javascriptObject,false);},ToLinearDoubleKeyFrame:function(javascriptObject)
{if(!Convert.IsLinearDoubleKeyFrame(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new LinearDoubleKeyFrame(javascriptObject.element)
else
return new LinearDoubleKeyFrame(javascriptObject);}},IsSplineDoubleKeyFrame:function(javascriptObject)
{return CheckConvertIs(",SplineDoubleKeyFrame,",javascriptObject,false);},ToSplineDoubleKeyFrame:function(javascriptObject)
{if(!Convert.IsSplineDoubleKeyFrame(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new SplineDoubleKeyFrame(javascriptObject.element)
else
return new SplineDoubleKeyFrame(javascriptObject);}},IsColorAnimationUsingKeyFrames:function(javascriptObject)
{return CheckConvertIs(",ColorAnimationUsingKeyFrames,",javascriptObject,false);},ToColorAnimationUsingKeyFrames:function(javascriptObject)
{if(!Convert.IsColorAnimationUsingKeyFrames(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ColorAnimationUsingKeyFrames(javascriptObject.element)
else
return new ColorAnimationUsingKeyFrames(javascriptObject);}},IsColorKeyFrame:function(javascriptObject)
{return CheckConvertIs(",ColorKeyFrame,DiscreteColorKeyFrame,LinearColorKeyFrame,SplineColorKeyFrame,",javascriptObject,false);},ToColorKeyFrame:function(javascriptObject)
{if(!Convert.IsColorKeyFrame(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ColorKeyFrame(javascriptObject.element)
else
return new ColorKeyFrame(javascriptObject);}},IsDiscreteColorKeyFrame:function(javascriptObject)
{return CheckConvertIs(",DiscreteColorKeyFrame,",javascriptObject,false);},ToDiscreteColorKeyFrame:function(javascriptObject)
{if(!Convert.IsDiscreteColorKeyFrame(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new DiscreteColorKeyFrame(javascriptObject.element)
else
return new DiscreteColorKeyFrame(javascriptObject);}},IsLinearColorKeyFrame:function(javascriptObject)
{return CheckConvertIs(",LinearColorKeyFrame,",javascriptObject,false);},ToLinearColorKeyFrame:function(javascriptObject)
{if(!Convert.IsLinearColorKeyFrame(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new LinearColorKeyFrame(javascriptObject.element)
else
return new LinearColorKeyFrame(javascriptObject);}},IsSplineColorKeyFrame:function(javascriptObject)
{return CheckConvertIs(",SplineColorKeyFrame,",javascriptObject,false);},ToSplineColorKeyFrame:function(javascriptObject)
{if(!Convert.IsSplineColorKeyFrame(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new SplineColorKeyFrame(javascriptObject.element)
else
return new SplineColorKeyFrame(javascriptObject);}},IsPointAnimationUsingKeyFrames:function(javascriptObject)
{return CheckConvertIs(",PointAnimationUsingKeyFrames,",javascriptObject,false);},ToPointAnimationUsingKeyFrames:function(javascriptObject)
{if(!Convert.IsPointAnimationUsingKeyFrames(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new PointAnimationUsingKeyFrames(javascriptObject.element)
else
return new PointAnimationUsingKeyFrames(javascriptObject);}},IsPointKeyFrame:function(javascriptObject)
{return CheckConvertIs(",PointKeyFrame,DiscretePointKeyFrame,LinearPointKeyFrame,SplinePointKeyFrame,",javascriptObject,false);},ToPointKeyFrame:function(javascriptObject)
{if(!Convert.IsPointKeyFrame(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new PointKeyFrame(javascriptObject.element)
else
return new PointKeyFrame(javascriptObject);}},IsDiscretePointKeyFrame:function(javascriptObject)
{return CheckConvertIs(",DiscretePointKeyFrame,",javascriptObject,false);},ToDiscretePointKeyFrame:function(javascriptObject)
{if(!Convert.IsDiscretePointKeyFrame(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new DiscretePointKeyFrame(javascriptObject.element)
else
return new DiscretePointKeyFrame(javascriptObject);}},IsLinearPointKeyFrame:function(javascriptObject)
{return CheckConvertIs(",LinearPointKeyFrame,",javascriptObject,false);},ToLinearPointKeyFrame:function(javascriptObject)
{if(!Convert.IsLinearPointKeyFrame(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new LinearPointKeyFrame(javascriptObject.element)
else
return new LinearPointKeyFrame(javascriptObject);}},IsSplinePointKeyFrame:function(javascriptObject)
{return CheckConvertIs(",SplinePointKeyFrame,",javascriptObject,false);},ToSplinePointKeyFrame:function(javascriptObject)
{if(!Convert.IsSplinePointKeyFrame(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new SplinePointKeyFrame(javascriptObject.element)
else
return new SplinePointKeyFrame(javascriptObject);}},IsTimelineMarker:function(javascriptObject)
{return CheckConvertIs(",TimelineMarker,",javascriptObject,false);},ToTimelineMarker:function(javascriptObject)
{if(!Convert.IsTimelineMarker(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TimelineMarker(javascriptObject.element)
else
return new TimelineMarker(javascriptObject);}},IsTimelineMarkerCollection:function(javascriptObject)
{return CheckConvertIs(",TimelineMarkerCollection,",javascriptObject,false);},ToTimelineMarkerCollection:function(javascriptObject)
{if(!Convert.IsTimelineMarkerCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TimelineMarkerCollection(javascriptObject.element)
else
return new TimelineMarkerCollection(javascriptObject);}},IsMouseEventHandler:function(javascriptObject)
{return CheckConvertIs(",MouseEventHandler,",javascriptObject,true);},ToMouseEventHandler:function(javascriptObject)
{if(!Convert.IsMouseEventHandler(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new MouseEventHandler(javascriptObject.element)
else
return new MouseEventHandler(javascriptObject);}},IsKeyboardEventHandler:function(javascriptObject)
{return CheckConvertIs(",KeyboardEventHandler,",javascriptObject,true);},ToKeyboardEventHandler:function(javascriptObject)
{if(!Convert.IsKeyboardEventHandler(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new KeyboardEventHandler(javascriptObject.element)
else
return new KeyboardEventHandler(javascriptObject);}},IsTimelineMarkerEventHandler:function(javascriptObject)
{return CheckConvertIs(",TimelineMarkerEventHandler,",javascriptObject,true);},ToTimelineMarkerEventHandler:function(javascriptObject)
{if(!Convert.IsTimelineMarkerEventHandler(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TimelineMarkerEventHandler(javascriptObject.element)
else
return new TimelineMarkerEventHandler(javascriptObject);}},IsCursors:function(javascriptObject)
{return CheckConvertIs(",Cursors,",javascriptObject,true);},ToCursors:function(javascriptObject)
{if(!Convert.IsCursors(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Cursors(javascriptObject.element)
else
return new Cursors(javascriptObject);}},IsTabletDeviceType:function(javascriptObject)
{return CheckConvertIs(",TabletDeviceType,",javascriptObject,true);},ToTabletDeviceType:function(javascriptObject)
{if(!Convert.IsTabletDeviceType(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TabletDeviceType(javascriptObject.element)
else
return new TabletDeviceType(javascriptObject);}},IsStylusPoint:function(javascriptObject)
{return CheckConvertIs(",StylusPoint,",javascriptObject,false);},ToStylusPoint:function(javascriptObject)
{if(!Convert.IsStylusPoint(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new StylusPoint(javascriptObject.element)
else
return new StylusPoint(javascriptObject);}},IsStylusPointCollection:function(javascriptObject)
{return CheckConvertIs(",StylusPointCollection,",javascriptObject,false);},ToStylusPointCollection:function(javascriptObject)
{if(!Convert.IsStylusPointCollection(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new StylusPointCollection(javascriptObject.element)
else
return new StylusPointCollection(javascriptObject);}},IsMouseEventArgs:function(javascriptObject)
{return CheckConvertIs(",MouseEventArgs,",javascriptObject,true);},ToMouseEventArgs:function(javascriptObject)
{if(!Convert.IsMouseEventArgs(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new MouseEventArgs(javascriptObject.element)
else
return new MouseEventArgs(javascriptObject);}},IsKeyboardEventArgs:function(javascriptObject)
{return CheckConvertIs(",KeyboardEventArgs,",javascriptObject,true);},ToKeyboardEventArgs:function(javascriptObject)
{if(!Convert.IsKeyboardEventArgs(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new KeyboardEventArgs(javascriptObject.element)
else
return new KeyboardEventArgs(javascriptObject);}},IsTimelineMarkerEventArgs:function(javascriptObject)
{return CheckConvertIs(",TimelineMarkerEventArgs,",javascriptObject,true);},ToTimelineMarkerEventArgs:function(javascriptObject)
{if(!Convert.IsTimelineMarkerEventArgs(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TimelineMarkerEventArgs(javascriptObject.element)
else
return new TimelineMarkerEventArgs(javascriptObject);}},IsStylusInfo:function(javascriptObject)
{return CheckConvertIs(",StylusInfo,",javascriptObject,false);},ToStylusInfo:function(javascriptObject)
{if(!Convert.IsStylusInfo(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new StylusInfo(javascriptObject.element)
else
return new StylusInfo(javascriptObject);}},IsShape:function(javascriptObject)
{return CheckConvertIs(",Shape,Path,Ellipse,Line,Polygon,Polyline,Rectangle,",javascriptObject,false);},ToShape:function(javascriptObject)
{if(!Convert.IsShape(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Shape(javascriptObject.element)
else
return new Shape(javascriptObject);}},IsPath:function(javascriptObject)
{return CheckConvertIs(",Path,",javascriptObject,false);},ToPath:function(javascriptObject)
{if(!Convert.IsPath(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Path(javascriptObject.element)
else
return new Path(javascriptObject);}},IsEllipse:function(javascriptObject)
{return CheckConvertIs(",Ellipse,",javascriptObject,false);},ToEllipse:function(javascriptObject)
{if(!Convert.IsEllipse(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Ellipse(javascriptObject.element)
else
return new Ellipse(javascriptObject);}},IsLine:function(javascriptObject)
{return CheckConvertIs(",Line,",javascriptObject,false);},ToLine:function(javascriptObject)
{if(!Convert.IsLine(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Line(javascriptObject.element)
else
return new Line(javascriptObject);}},IsPolygon:function(javascriptObject)
{return CheckConvertIs(",Polygon,",javascriptObject,false);},ToPolygon:function(javascriptObject)
{if(!Convert.IsPolygon(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Polygon(javascriptObject.element)
else
return new Polygon(javascriptObject);}},IsPolyline:function(javascriptObject)
{return CheckConvertIs(",Polyline,",javascriptObject,false);},ToPolyline:function(javascriptObject)
{if(!Convert.IsPolyline(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Polyline(javascriptObject.element)
else
return new Polyline(javascriptObject);}},IsRectangle:function(javascriptObject)
{return CheckConvertIs(",Rectangle,",javascriptObject,false);},ToRectangle:function(javascriptObject)
{if(!Convert.IsRectangle(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Rectangle(javascriptObject.element)
else
return new Rectangle(javascriptObject);}},IsInline:function(javascriptObject)
{return CheckConvertIs(",Inline,Run,LineBreak,",javascriptObject,false);},ToInline:function(javascriptObject)
{if(!Convert.IsInline(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Inline(javascriptObject.element)
else
return new Inline(javascriptObject);}},IsGlyphs:function(javascriptObject)
{return CheckConvertIs(",Glyphs,",javascriptObject,false);},ToGlyphs:function(javascriptObject)
{if(!Convert.IsGlyphs(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Glyphs(javascriptObject.element)
else
return new Glyphs(javascriptObject);}},IsRun:function(javascriptObject)
{return CheckConvertIs(",Run,",javascriptObject,false);},ToRun:function(javascriptObject)
{if(!Convert.IsRun(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Run(javascriptObject.element)
else
return new Run(javascriptObject);}},IsLineBreak:function(javascriptObject)
{return CheckConvertIs(",LineBreak,",javascriptObject,false);},ToLineBreak:function(javascriptObject)
{if(!Convert.IsLineBreak(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new LineBreak(javascriptObject.element)
else
return new LineBreak(javascriptObject);}},IsPanel:function(javascriptObject)
{return CheckConvertIs(",Panel,Canvas,InkPresenter,",javascriptObject,false);},ToPanel:function(javascriptObject)
{if(!Convert.IsPanel(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Panel(javascriptObject.element)
else
return new Panel(javascriptObject);}},IsMediaBase:function(javascriptObject)
{return CheckConvertIs(",MediaBase,ImageSL,MediaElement,",javascriptObject,false);},ToMediaBase:function(javascriptObject)
{if(!Convert.IsMediaBase(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new MediaBase(javascriptObject.element)
else
return new MediaBase(javascriptObject);}},IsImageSL:function(javascriptObject)
{return CheckConvertIs(",ImageSL,",javascriptObject,false);},ToImageSL:function(javascriptObject)
{if(!Convert.IsImageSL(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new ImageSL(javascriptObject.element)
else
return new ImageSL(javascriptObject);}},IsCanvas:function(javascriptObject)
{return CheckConvertIs(",Canvas,InkPresenter,",javascriptObject,false);},ToCanvas:function(javascriptObject)
{if(!Convert.IsCanvas(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Canvas(javascriptObject.element)
else
return new Canvas(javascriptObject);}},IsTextBlock:function(javascriptObject)
{return CheckConvertIs(",TextBlock,",javascriptObject,false);},ToTextBlock:function(javascriptObject)
{if(!Convert.IsTextBlock(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new TextBlock(javascriptObject.element)
else
return new TextBlock(javascriptObject);}},IsMediaElement:function(javascriptObject)
{return CheckConvertIs(",MediaElement,",javascriptObject,false);},ToMediaElement:function(javascriptObject)
{if(!Convert.IsMediaElement(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new MediaElement(javascriptObject.element)
else
return new MediaElement(javascriptObject);}},IsInkPresenter:function(javascriptObject)
{return CheckConvertIs(",InkPresenter,",javascriptObject,false);},ToInkPresenter:function(javascriptObject)
{if(!Convert.IsInkPresenter(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new InkPresenter(javascriptObject.element)
else
return new InkPresenter(javascriptObject);}},IsControl:function(javascriptObject)
{return CheckConvertIs(",Control,",javascriptObject,false);},ToControl:function(javascriptObject)
{if(!Convert.IsControl(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Control(javascriptObject.element)
else
return new Control(javascriptObject);}},IsDuration:function(javascriptObject)
{return CheckConvertIs(",Duration,",javascriptObject,true);},ToDuration:function(javascriptObject)
{if(!Convert.IsDuration(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Duration(javascriptObject.element)
else
return new Duration(javascriptObject);}},IsXamlParseException:function(javascriptObject)
{return CheckConvertIs(",XamlParseException,",javascriptObject,true);},ToXamlParseException:function(javascriptObject)
{if(!Convert.IsXamlParseException(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new XamlParseException(javascriptObject.element)
else
return new XamlParseException(javascriptObject);}},IsBrowserHost:function(javascriptObject)
{return CheckConvertIs(",BrowserHost,",javascriptObject,true);},ToBrowserHost:function(javascriptObject)
{if(!Convert.IsBrowserHost(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new BrowserHost(javascriptObject.element)
else
return new BrowserHost(javascriptObject);}},IsRepeatBehavior:function(javascriptObject)
{return CheckConvertIs(",RepeatBehavior,",javascriptObject,true);},ToRepeatBehavior:function(javascriptObject)
{if(!Convert.IsRepeatBehavior(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new RepeatBehavior(javascriptObject.element)
else
return new RepeatBehavior(javascriptObject);}},IsKeyTime:function(javascriptObject)
{return CheckConvertIs(",KeyTime,",javascriptObject,true);},ToKeyTime:function(javascriptObject)
{if(!Convert.IsKeyTime(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new KeyTime(javascriptObject.element)
else
return new KeyTime(javascriptObject);}},IsKeyTimeType:function(javascriptObject)
{return CheckConvertIs(",KeyTimeType,",javascriptObject,true);},ToKeyTimeType:function(javascriptObject)
{if(!Convert.IsKeyTimeType(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new KeyTimeType(javascriptObject.element)
else
return new KeyTimeType(javascriptObject);}},IsMatrix:function(javascriptObject)
{return CheckConvertIs(",Matrix,",javascriptObject,true);},ToMatrix:function(javascriptObject)
{if(!Convert.IsMatrix(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Matrix(javascriptObject.element)
else
return new Matrix(javascriptObject);}},IsRect:function(javascriptObject)
{return CheckConvertIs(",Rect,",javascriptObject,true);},ToRect:function(javascriptObject)
{if(!Convert.IsRect(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Rect(javascriptObject.element)
else
return new Rect(javascriptObject);}},IsPoint:function(javascriptObject)
{return CheckConvertIs(",Point,",javascriptObject,true);},ToPoint:function(javascriptObject)
{if(!Convert.IsPoint(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Point(javascriptObject.element)
else
return new Point(javascriptObject);}},IsSize:function(javascriptObject)
{return CheckConvertIs(",Size,",javascriptObject,true);},ToSize:function(javascriptObject)
{if(!Convert.IsSize(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Size(javascriptObject.element)
else
return new Size(javascriptObject);}},IsColor:function(javascriptObject)
{return CheckConvertIs(",Color,",javascriptObject,true);},ToColor:function(javascriptObject)
{if(!Convert.IsColor(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Color(javascriptObject.element)
else
return new Color(javascriptObject);}},IsColors:function(javascriptObject)
{return CheckConvertIs(",Colors,",javascriptObject,true);},ToColors:function(javascriptObject)
{if(!Convert.IsColors(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new Colors(javascriptObject.element)
else
return new Colors(javascriptObject);}},IsXamlReader:function(javascriptObject)
{return CheckConvertIs(",XamlReader,",javascriptObject,true);},ToXamlReader:function(javascriptObject)
{if(!Convert.IsXamlReader(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new XamlReader(javascriptObject.element)
else
return new XamlReader(javascriptObject);}},IsDependencyProperty:function(javascriptObject)
{return CheckConvertIs(",DependencyProperty,",javascriptObject,true);},ToDependencyProperty:function(javascriptObject)
{if(!Convert.IsDependencyProperty(javascriptObject))
return;else
{if(HasElementProperty(javascriptObject))
return new DependencyProperty(javascriptObject.element)
else
return new DependencyProperty(javascriptObject);}}}
function TypeSafety(paramsToValidate)
{var isValid=true;for(var paramType in paramsToValidate)
{var paramValue=paramsToValidate[paramType];var ConvertIs=eval("Convert.Is"+paramType);if(ConvertIs)
{if(!ConvertIs(paramValue))
{isValid=false;}}
if((paramType=="String")&&!IsString(paramValue))
isValid=false;if(((paramType=="Number")||(paramType=="Double"))&&!IsNumber(paramValue))
isValid=false;if((paramType=="Function")&&!IsFunction(paramValue))
isValid=false;if((paramType=="Boolean")&&!IsBoolean(paramValue))
isValid=false;if(!isValid)
throw new Error(paramValue+" is not of type "+paramType);}}
function IsPrimitive(value)
{return IsString(value)||IsNumber(value)||IsFunction(value)||IsBoolean(value);}
function IsString(value)
{return(value!=null)&&(value.toLowerCase!=null);}
function IsNumber(value)
{return(value!=null)&&(value.toPrecision!=null);}
function IsFunction(value)
{return(value!=null)&&(value.apply!=null);}
function IsBoolean(value)
{return(value!=null)&&((value==true)||(value==false));}
function HasElementProperty(value)
{try{return(value!=null)&&(value.element!=null);}
catch(ex){return false;}}
function CheckConvertIs(typeHierchy,javascriptObject,canBePrimitive)
{if(!javascriptObject)
return false;if(!javascriptObject.toString())
return false;var IsInTypeHierchy=typeHierchy.indexOf(','+javascriptObject.toString()+',')!=-1;if(IsInTypeHierchy)
return true;if(canBePrimitive)
{if(HasElementProperty(javascriptObject))
return IsPrimitive(javascriptObject.element);else
return IsPrimitive(javascriptObject);}}
ErrorEventHandler=function(ErrorEventHandlerXamlElement)
{this.element=ErrorEventHandlerXamlElement;}
ErrorEventHandler.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ErrorEventHandler(Host.content.createFromXaml("<ErrorEventHandler />"));}catch(ex){}
if(Host.getHost)
return ErrorEventHandler.CreateNew(Host.getHost());return;}
ErrorEventHandler.prototype={get_method:function()
{return(this.element.method);},get_target:function()
{return(this.element.target);},invoke:function(sender,e)
{TypeSafety({"Object":sender,"ErrorEventArgs":e});return(this.element.invoke(sender,e.element));},beginInvoke:function(sender,e,callback,object)
{TypeSafety({"Object":sender,"ErrorEventArgs":e,"AsyncCallback":callback,"Object":object});return(this.element.beginInvoke(sender,e.element,callback,object));},endInvoke:function(result)
{TypeSafety({"IAsyncResult":result});return(this.element.endInvoke(result));},getObjectData:function(info,context)
{TypeSafety({"SerializationInfo":info,"StreamingContext":context});return(this.element.getObjectData(info,context));},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getInvocationList:function()
{TypeSafety({});return(this.element.getInvocationList());},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},dynamicInvoke:function(args)
{TypeSafety({"Object[]":args});return(this.element.dynamicInvoke(args));},clone:function()
{TypeSafety({});return(this.element.clone());},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());}}
ParserErrorEventHandler=function(ParserErrorEventHandlerXamlElement)
{this.element=ParserErrorEventHandlerXamlElement;}
ParserErrorEventHandler.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ParserErrorEventHandler(Host.content.createFromXaml("<ParserErrorEventHandler />"));}catch(ex){}
if(Host.getHost)
return ParserErrorEventHandler.CreateNew(Host.getHost());return;}
ParserErrorEventHandler.prototype={get_method:function()
{return(this.element.method);},get_target:function()
{return(this.element.target);},invoke:function(sender,e)
{TypeSafety({"Object":sender,"ParserErrorEventArgs":e});return(this.element.invoke(sender,e.element));},beginInvoke:function(sender,e,callback,object)
{TypeSafety({"Object":sender,"ParserErrorEventArgs":e,"AsyncCallback":callback,"Object":object});return(this.element.beginInvoke(sender,e.element,callback,object));},endInvoke:function(result)
{TypeSafety({"IAsyncResult":result});return(this.element.endInvoke(result));},getObjectData:function(info,context)
{TypeSafety({"SerializationInfo":info,"StreamingContext":context});return(this.element.getObjectData(info,context));},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getInvocationList:function()
{TypeSafety({});return(this.element.getInvocationList());},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},dynamicInvoke:function(args)
{TypeSafety({"Object[]":args});return(this.element.dynamicInvoke(args));},clone:function()
{TypeSafety({});return(this.element.clone());},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());}}
RuntimeErrorEventHandler=function(RuntimeErrorEventHandlerXamlElement)
{this.element=RuntimeErrorEventHandlerXamlElement;}
RuntimeErrorEventHandler.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new RuntimeErrorEventHandler(Host.content.createFromXaml("<RuntimeErrorEventHandler />"));}catch(ex){}
if(Host.getHost)
return RuntimeErrorEventHandler.CreateNew(Host.getHost());return;}
RuntimeErrorEventHandler.prototype={get_method:function()
{return(this.element.method);},get_target:function()
{return(this.element.target);},invoke:function(sender,e)
{TypeSafety({"Object":sender,"RuntimeErrorEventArgs":e});return(this.element.invoke(sender,e.element));},beginInvoke:function(sender,e,callback,object)
{TypeSafety({"Object":sender,"RuntimeErrorEventArgs":e,"AsyncCallback":callback,"Object":object});return(this.element.beginInvoke(sender,e.element,callback,object));},endInvoke:function(result)
{TypeSafety({"IAsyncResult":result});return(this.element.endInvoke(result));},getObjectData:function(info,context)
{TypeSafety({"SerializationInfo":info,"StreamingContext":context});return(this.element.getObjectData(info,context));},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getInvocationList:function()
{TypeSafety({});return(this.element.getInvocationList());},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},dynamicInvoke:function(args)
{TypeSafety({"Object[]":args});return(this.element.dynamicInvoke(args));},clone:function()
{TypeSafety({});return(this.element.clone());},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());}}
TextWrapping=function(TextWrappingXamlElement)
{this.element=TextWrappingXamlElement;}
TextWrapping.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TextWrapping(Host.content.createFromXaml("<TextWrapping />"));}catch(ex){}
if(Host.getHost)
return TextWrapping.CreateNew(Host.getHost());return;}
TextWrapping.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
FontWeights=function(FontWeightsXamlElement)
{this.element=FontWeightsXamlElement;}
FontWeights.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new FontWeights(Host.content.createFromXaml("<FontWeights />"));}catch(ex){}
if(Host.getHost)
return FontWeights.CreateNew(Host.getHost());return;}
FontWeights.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
FontStyles=function(FontStylesXamlElement)
{this.element=FontStylesXamlElement;}
FontStyles.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new FontStyles(Host.content.createFromXaml("<FontStyles />"));}catch(ex){}
if(Host.getHost)
return FontStyles.CreateNew(Host.getHost());return;}
FontStyles.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
StyleSimulations=function(StyleSimulationsXamlElement)
{this.element=StyleSimulationsXamlElement;}
StyleSimulations.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new StyleSimulations(Host.content.createFromXaml("<StyleSimulations />"));}catch(ex){}
if(Host.getHost)
return StyleSimulations.CreateNew(Host.getHost());return;}
StyleSimulations.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
TextDecorations=function(TextDecorationsXamlElement)
{this.element=TextDecorationsXamlElement;}
TextDecorations.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TextDecorations(Host.content.createFromXaml("<TextDecorations />"));}catch(ex){}
if(Host.getHost)
return TextDecorations.CreateNew(Host.getHost());return;}
TextDecorations.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
FontStretches=function(FontStretchesXamlElement)
{this.element=FontStretchesXamlElement;}
FontStretches.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new FontStretches(Host.content.createFromXaml("<FontStretches />"));}catch(ex){}
if(Host.getHost)
return FontStretches.CreateNew(Host.getHost());return;}
FontStretches.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
Visibility=function(VisibilityXamlElement)
{this.element=VisibilityXamlElement;}
Visibility.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Visibility(Host.content.createFromXaml("<Visibility />"));}catch(ex){}
if(Host.getHost)
return Visibility.CreateNew(Host.getHost());return;}
Visibility.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
ErrorType=function(ErrorTypeXamlElement)
{this.element=ErrorTypeXamlElement;}
ErrorType.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ErrorType(Host.content.createFromXaml("<ErrorType />"));}catch(ex){}
if(Host.getHost)
return ErrorType.CreateNew(Host.getHost());return;}
ErrorType.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
DependencyObject=function(DependencyObjectXamlElement)
{this.element=DependencyObjectXamlElement;}
DependencyObject.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new DependencyObject(Host.content.createFromXaml("<DependencyObject />"));}catch(ex){}
if(Host.getHost)
return DependencyObject.CreateNew(Host.getHost());return;}
DependencyObject.prototype={get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
Visual=function(VisualXamlElement)
{this.element=VisualXamlElement;}
Visual.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Visual(Host.content.createFromXaml("<Visual />"));}catch(ex){}
if(Host.getHost)
return Visual.CreateNew(Host.getHost());return;}
Visual.prototype={get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
UIElement=function(UIElementXamlElement)
{this.element=UIElementXamlElement;}
UIElement.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new UIElement(Host.content.createFromXaml("<UIElement />"));}catch(ex){}
if(Host.getHost)
return UIElement.CreateNew(Host.getHost());return;}
UIElement.prototype={set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
FrameworkElement=function(FrameworkElementXamlElement)
{this.element=FrameworkElementXamlElement;}
FrameworkElement.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new FrameworkElement(Host.content.createFromXaml("<FrameworkElement />"));}catch(ex){}
if(Host.getHost)
return FrameworkElement.CreateNew(Host.getHost());return;}
FrameworkElement.prototype={set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
Collection=function(CollectionXamlElement)
{this.element=CollectionXamlElement;}
Collection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Collection(Host.content.createFromXaml("<Collection />"));}catch(ex){}
if(Host.getHost)
return Collection.CreateNew(Host.getHost());return;}
Collection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"T":value});return(this.element.add(value));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"T":value});return(this.element.contains(value));},indexOf:function(value)
{TypeSafety({"T":value});return(this.element.indexOf(value));},insert:function(index,value)
{TypeSafety({"Number":index,"T":value});return(this.element.insert(index,value));},remove:function(value)
{TypeSafety({"T":value});return(this.element.remove(value));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"T[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
Inlines=function(InlinesXamlElement)
{this.element=InlinesXamlElement;}
Inlines.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Inlines(Host.content.createFromXaml("<Inlines />"));}catch(ex){}
if(Host.getHost)
return Inlines.CreateNew(Host.getHost());return;}
Inlines.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToInline(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"Inline":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"Inline":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"Inline":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"Inline":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"Inline":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"Inline[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
TriggerCollection=function(TriggerCollectionXamlElement)
{this.element=TriggerCollectionXamlElement;}
TriggerCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TriggerCollection(Host.content.createFromXaml("<TriggerCollection />"));}catch(ex){}
if(Host.getHost)
return TriggerCollection.CreateNew(Host.getHost());return;}
TriggerCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToEventTrigger(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"EventTrigger":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"EventTrigger":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"EventTrigger":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"EventTrigger":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"EventTrigger":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"EventTrigger[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
EventTrigger=function(EventTriggerXamlElement)
{this.element=EventTriggerXamlElement;}
EventTrigger.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new EventTrigger(Host.content.createFromXaml("<EventTrigger />"));}catch(ex){}
if(Host.getHost)
return EventTrigger.CreateNew(Host.getHost());return;}
EventTrigger.prototype={set_routedEvent:function(value)
{TypeSafety({"String":value});this.element.routedEvent=value;},get_routedEvent:function()
{return(this.element.routedEvent);},set_actions:function(value)
{TypeSafety({"TriggerActionCollection":value});this.element.actions=value.element;},get_actions:function()
{return Convert.ToTriggerActionCollection(this.element.actions);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
TriggerActionCollection=function(TriggerActionCollectionXamlElement)
{this.element=TriggerActionCollectionXamlElement;}
TriggerActionCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TriggerActionCollection(Host.content.createFromXaml("<TriggerActionCollection />"));}catch(ex){}
if(Host.getHost)
return TriggerActionCollection.CreateNew(Host.getHost());return;}
TriggerActionCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToBeginStoryboard(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"BeginStoryboard":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"BeginStoryboard":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"BeginStoryboard":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"BeginStoryboard":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"BeginStoryboard":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"BeginStoryboard[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
ErrorEventArgs=function(ErrorEventArgsXamlElement)
{this.element=ErrorEventArgsXamlElement;}
ErrorEventArgs.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ErrorEventArgs(Host.content.createFromXaml("<ErrorEventArgs />"));}catch(ex){}
if(Host.getHost)
return ErrorEventArgs.CreateNew(Host.getHost());return;}
ErrorEventArgs.prototype={set_errorMessage:function(value)
{TypeSafety({"String":value});this.element.errorMessage=value;},get_errorMessage:function()
{return(this.element.errorMessage);},set_errorCode:function(value)
{TypeSafety({"Number":value});this.element.errorCode=value;},get_errorCode:function()
{return(this.element.errorCode);},set_errorType:function(value)
{TypeSafety({"ErrorType":value});this.element.errorType=value.element;},get_errorType:function()
{return Convert.ToErrorType(this.element.errorType);},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
ParserErrorEventArgs=function(ParserErrorEventArgsXamlElement)
{this.element=ParserErrorEventArgsXamlElement;}
ParserErrorEventArgs.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ParserErrorEventArgs(Host.content.createFromXaml("<ParserErrorEventArgs />"));}catch(ex){}
if(Host.getHost)
return ParserErrorEventArgs.CreateNew(Host.getHost());return;}
ParserErrorEventArgs.prototype={set_xamlFile:function(value)
{TypeSafety({"String":value});this.element.xamlFile=value;},get_xamlFile:function()
{return(this.element.xamlFile);},set_lineNumber:function(value)
{TypeSafety({"Number":value});this.element.lineNumber=value;},get_lineNumber:function()
{return(this.element.lineNumber);},set_charPosition:function(value)
{TypeSafety({"Number":value});this.element.charPosition=value;},get_charPosition:function()
{return(this.element.charPosition);},set_xmlElement:function(value)
{TypeSafety({"String":value});this.element.xmlElement=value;},get_xmlElement:function()
{return(this.element.xmlElement);},set_xmlAttribute:function(value)
{TypeSafety({"String":value});this.element.xmlAttribute=value;},get_xmlAttribute:function()
{return(this.element.xmlAttribute);},set_errorMessage:function(value)
{TypeSafety({"String":value});this.element.errorMessage=value;},get_errorMessage:function()
{return(this.element.errorMessage);},set_errorCode:function(value)
{TypeSafety({"Number":value});this.element.errorCode=value;},get_errorCode:function()
{return(this.element.errorCode);},set_errorType:function(value)
{TypeSafety({"ErrorType":value});this.element.errorType=value.element;},get_errorType:function()
{return Convert.ToErrorType(this.element.errorType);},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
RuntimeErrorEventArgs=function(RuntimeErrorEventArgsXamlElement)
{this.element=RuntimeErrorEventArgsXamlElement;}
RuntimeErrorEventArgs.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new RuntimeErrorEventArgs(Host.content.createFromXaml("<RuntimeErrorEventArgs />"));}catch(ex){}
if(Host.getHost)
return RuntimeErrorEventArgs.CreateNew(Host.getHost());return;}
RuntimeErrorEventArgs.prototype={set_methodName:function(value)
{TypeSafety({"String":value});this.element.methodName=value;},get_methodName:function()
{return(this.element.methodName);},set_lineNumber:function(value)
{TypeSafety({"Number":value});this.element.lineNumber=value;},get_lineNumber:function()
{return(this.element.lineNumber);},set_charPosition:function(value)
{TypeSafety({"Number":value});this.element.charPosition=value;},get_charPosition:function()
{return(this.element.charPosition);},set_errorMessage:function(value)
{TypeSafety({"String":value});this.element.errorMessage=value;},get_errorMessage:function()
{return(this.element.errorMessage);},set_errorCode:function(value)
{TypeSafety({"Number":value});this.element.errorCode=value;},get_errorCode:function()
{return(this.element.errorCode);},set_errorType:function(value)
{TypeSafety({"ErrorType":value});this.element.errorType=value.element;},get_errorType:function()
{return Convert.ToErrorType(this.element.errorType);},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
Downloader=function(DownloaderXamlElement)
{this.element=DownloaderXamlElement;}
Downloader.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Downloader(Host.content.createFromXaml("<Downloader />"));}catch(ex){}
if(Host.getHost)
return Downloader.CreateNew(Host.getHost());return;}
Downloader.prototype={set_downloadProgress:function(value)
{TypeSafety({"Double":value});this.element.downloadProgress=value;},get_downloadProgress:function()
{return(this.element.downloadProgress);},set_responseText:function(value)
{TypeSafety({"String":value});this.element.responseText=value;},get_responseText:function()
{return(this.element.responseText);},set_status:function(value)
{TypeSafety({"Number":value});this.element.status=value;},get_status:function()
{return(this.element.status);},set_statusText:function(value)
{TypeSafety({"String":value});this.element.statusText=value;},get_statusText:function()
{return(this.element.statusText);},set_uri:function(value)
{TypeSafety({"String":value});this.element.uri=value;},get_uri:function()
{return(this.element.uri);},get_name:function()
{return(this.element.name);},send:function()
{TypeSafety({});return(this.element.send());},abort:function()
{TypeSafety({});return(this.element.abort());},getResponseText:function(PartName)
{TypeSafety({"String":PartName});return(this.element.getResponseText(PartName));},open:function(verb,URI)
{TypeSafety({"String":verb,"String":URI});return(this.element.open(verb,URI));},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_DownloadProgressChanged:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("DownloadProgressChanged",handler);},remove_DownloadProgressChanged:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("DownloadProgressChanged",eventId)},add_Completed:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Completed",handler);},remove_Completed:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Completed",eventId)},add_DownloadFailed:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("DownloadFailed",handler);},remove_DownloadFailed:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("DownloadFailed",eventId)}}
ResourceDictionary=function(ResourceDictionaryXamlElement)
{this.element=ResourceDictionaryXamlElement;}
ResourceDictionary.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ResourceDictionary(Host.content.createFromXaml("<ResourceDictionary />"));}catch(ex){}
if(Host.getHost)
return ResourceDictionary.CreateNew(Host.getHost());return;}
ResourceDictionary.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToDependencyObject(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"DependencyObject":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"DependencyObject":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"DependencyObject":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"DependencyObject":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"DependencyObject":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"DependencyObject[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
Stroke=function(StrokeXamlElement)
{this.element=StrokeXamlElement;}
Stroke.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Stroke(Host.content.createFromXaml("<Stroke />"));}catch(ex){}
if(Host.getHost)
return Stroke.CreateNew(Host.getHost());return;}
Stroke.prototype={set_stylusPoints:function(value)
{TypeSafety({"StylusPointCollection":value});this.element.stylusPoints=value.element;},get_stylusPoints:function()
{return Convert.ToStylusPointCollection(this.element.stylusPoints);},set_drawingAttributes:function(value)
{TypeSafety({"DrawingAttributes":value});this.element.drawingAttributes=value.element;},get_drawingAttributes:function()
{return Convert.ToDrawingAttributes(this.element.drawingAttributes);},get_name:function()
{return(this.element.name);},getBounds:function()
{TypeSafety({});return Convert.ToRect(this.element.getBounds());},hitTest:function(stylusPointCollection)
{TypeSafety({"StylusPointCollection":stylusPointCollection});return(this.element.hitTest(stylusPointCollection.element));},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
StrokeCollection=function(StrokeCollectionXamlElement)
{this.element=StrokeCollectionXamlElement;}
StrokeCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new StrokeCollection(Host.content.createFromXaml("<StrokeCollection />"));}catch(ex){}
if(Host.getHost)
return StrokeCollection.CreateNew(Host.getHost());return;}
StrokeCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToStroke(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},getBounds:function()
{TypeSafety({});return Convert.ToRect(this.element.getBounds());},hitTest:function(stylusPointCollection)
{TypeSafety({"StylusPointCollection":stylusPointCollection});return Convert.ToStrokeCollection(this.element.hitTest(stylusPointCollection.element));},add:function(value)
{TypeSafety({"Stroke":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"Stroke":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"Stroke":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"Stroke":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"Stroke":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"Stroke[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
DrawingAttributes=function(DrawingAttributesXamlElement)
{this.element=DrawingAttributesXamlElement;}
DrawingAttributes.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new DrawingAttributes(Host.content.createFromXaml("<DrawingAttributes />"));}catch(ex){}
if(Host.getHost)
return DrawingAttributes.CreateNew(Host.getHost());return;}
DrawingAttributes.prototype={set_color:function(value)
{TypeSafety({"Color":value});this.element.color=value.element;},get_color:function()
{return Convert.ToColor(this.element.color);},set_outlineColor:function(value)
{TypeSafety({"Color":value});this.element.outlineColor=value.element;},get_outlineColor:function()
{return Convert.ToColor(this.element.outlineColor);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
FillRule=function(FillRuleXamlElement)
{this.element=FillRuleXamlElement;}
FillRule.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new FillRule(Host.content.createFromXaml("<FillRule />"));}catch(ex){}
if(Host.getHost)
return FillRule.CreateNew(Host.getHost());return;}
FillRule.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
SweepDirection=function(SweepDirectionXamlElement)
{this.element=SweepDirectionXamlElement;}
SweepDirection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new SweepDirection(Host.content.createFromXaml("<SweepDirection />"));}catch(ex){}
if(Host.getHost)
return SweepDirection.CreateNew(Host.getHost());return;}
SweepDirection.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
GradientSpreadMethod=function(GradientSpreadMethodXamlElement)
{this.element=GradientSpreadMethodXamlElement;}
GradientSpreadMethod.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new GradientSpreadMethod(Host.content.createFromXaml("<GradientSpreadMethod />"));}catch(ex){}
if(Host.getHost)
return GradientSpreadMethod.CreateNew(Host.getHost());return;}
GradientSpreadMethod.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
ColorInterpolationMode=function(ColorInterpolationModeXamlElement)
{this.element=ColorInterpolationModeXamlElement;}
ColorInterpolationMode.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ColorInterpolationMode(Host.content.createFromXaml("<ColorInterpolationMode />"));}catch(ex){}
if(Host.getHost)
return ColorInterpolationMode.CreateNew(Host.getHost());return;}
ColorInterpolationMode.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
BrushMappingMode=function(BrushMappingModeXamlElement)
{this.element=BrushMappingModeXamlElement;}
BrushMappingMode.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new BrushMappingMode(Host.content.createFromXaml("<BrushMappingMode />"));}catch(ex){}
if(Host.getHost)
return BrushMappingMode.CreateNew(Host.getHost());return;}
BrushMappingMode.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
AlignmentX=function(AlignmentXXamlElement)
{this.element=AlignmentXXamlElement;}
AlignmentX.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new AlignmentX(Host.content.createFromXaml("<AlignmentX />"));}catch(ex){}
if(Host.getHost)
return AlignmentX.CreateNew(Host.getHost());return;}
AlignmentX.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
AlignmentY=function(AlignmentYXamlElement)
{this.element=AlignmentYXamlElement;}
AlignmentY.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new AlignmentY(Host.content.createFromXaml("<AlignmentY />"));}catch(ex){}
if(Host.getHost)
return AlignmentY.CreateNew(Host.getHost());return;}
AlignmentY.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
Stretch=function(StretchXamlElement)
{this.element=StretchXamlElement;}
Stretch.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Stretch(Host.content.createFromXaml("<Stretch />"));}catch(ex){}
if(Host.getHost)
return Stretch.CreateNew(Host.getHost());return;}
Stretch.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
PenLineCap=function(PenLineCapXamlElement)
{this.element=PenLineCapXamlElement;}
PenLineCap.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new PenLineCap(Host.content.createFromXaml("<PenLineCap />"));}catch(ex){}
if(Host.getHost)
return PenLineCap.CreateNew(Host.getHost());return;}
PenLineCap.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
PenLineJoin=function(PenLineJoinXamlElement)
{this.element=PenLineJoinXamlElement;}
PenLineJoin.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new PenLineJoin(Host.content.createFromXaml("<PenLineJoin />"));}catch(ex){}
if(Host.getHost)
return PenLineJoin.CreateNew(Host.getHost());return;}
PenLineJoin.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
Transform=function(TransformXamlElement)
{this.element=TransformXamlElement;}
Transform.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Transform(Host.content.createFromXaml("<Transform />"));}catch(ex){}
if(Host.getHost)
return Transform.CreateNew(Host.getHost());return;}
Transform.prototype={get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
PathSegment=function(PathSegmentXamlElement)
{this.element=PathSegmentXamlElement;}
PathSegment.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new PathSegment(Host.content.createFromXaml("<PathSegment />"));}catch(ex){}
if(Host.getHost)
return PathSegment.CreateNew(Host.getHost());return;}
PathSegment.prototype={get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
Brush=function(BrushXamlElement)
{this.element=BrushXamlElement;}
Brush.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Brush(Host.content.createFromXaml("<Brush />"));}catch(ex){}
if(Host.getHost)
return Brush.CreateNew(Host.getHost());return;}
Brush.prototype={set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_transform:function(value)
{TypeSafety({"Transform":value});this.element.transform=value.element;},get_transform:function()
{return Convert.ToTransform(this.element.transform);},set_relativeTransform:function(value)
{TypeSafety({"Transform":value});this.element.relativeTransform=value.element;},get_relativeTransform:function()
{return Convert.ToTransform(this.element.relativeTransform);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
TileBrush=function(TileBrushXamlElement)
{this.element=TileBrushXamlElement;}
TileBrush.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TileBrush(Host.content.createFromXaml("<TileBrush />"));}catch(ex){}
if(Host.getHost)
return TileBrush.CreateNew(Host.getHost());return;}
TileBrush.prototype={set_alignmentX:function(value)
{TypeSafety({"AlignmentX":value});this.element.alignmentX=value.element;},get_alignmentX:function()
{return Convert.ToAlignmentX(this.element.alignmentX);},set_alignmentY:function(value)
{TypeSafety({"AlignmentY":value});this.element.alignmentY=value.element;},get_alignmentY:function()
{return Convert.ToAlignmentY(this.element.alignmentY);},set_stretch:function(value)
{TypeSafety({"Stretch":value});this.element.stretch=value.element;},get_stretch:function()
{return Convert.ToStretch(this.element.stretch);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_transform:function(value)
{TypeSafety({"Transform":value});this.element.transform=value.element;},get_transform:function()
{return Convert.ToTransform(this.element.transform);},set_relativeTransform:function(value)
{TypeSafety({"Transform":value});this.element.relativeTransform=value.element;},get_relativeTransform:function()
{return Convert.ToTransform(this.element.relativeTransform);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
Geometry=function(GeometryXamlElement)
{this.element=GeometryXamlElement;}
Geometry.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Geometry(Host.content.createFromXaml("<Geometry />"));}catch(ex){}
if(Host.getHost)
return Geometry.CreateNew(Host.getHost());return;}
Geometry.prototype={set_fillRule:function(value)
{TypeSafety({"FillRule":value});this.element.fillRule=value.element;},get_fillRule:function()
{return Convert.ToFillRule(this.element.fillRule);},set_transform:function(value)
{TypeSafety({"Transform":value});this.element.transform=value.element;},get_transform:function()
{return Convert.ToTransform(this.element.transform);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
RotateTransform=function(RotateTransformXamlElement)
{this.element=RotateTransformXamlElement;}
RotateTransform.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new RotateTransform(Host.content.createFromXaml("<RotateTransform />"));}catch(ex){}
if(Host.getHost)
return RotateTransform.CreateNew(Host.getHost());return;}
RotateTransform.prototype={set_centerX:function(value)
{TypeSafety({"Double":value});this.element.centerX=value;},get_centerX:function()
{return(this.element.centerX);},set_centerY:function(value)
{TypeSafety({"Double":value});this.element.centerY=value;},get_centerY:function()
{return(this.element.centerY);},set_angle:function(value)
{TypeSafety({"Double":value});this.element.angle=value;},get_angle:function()
{return(this.element.angle);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
ScaleTransform=function(ScaleTransformXamlElement)
{this.element=ScaleTransformXamlElement;}
ScaleTransform.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ScaleTransform(Host.content.createFromXaml("<ScaleTransform />"));}catch(ex){}
if(Host.getHost)
return ScaleTransform.CreateNew(Host.getHost());return;}
ScaleTransform.prototype={set_centerX:function(value)
{TypeSafety({"Double":value});this.element.centerX=value;},get_centerX:function()
{return(this.element.centerX);},set_centerY:function(value)
{TypeSafety({"Double":value});this.element.centerY=value;},get_centerY:function()
{return(this.element.centerY);},set_scaleX:function(value)
{TypeSafety({"Double":value});this.element.scaleX=value;},get_scaleX:function()
{return(this.element.scaleX);},set_scaleY:function(value)
{TypeSafety({"Double":value});this.element.scaleY=value;},get_scaleY:function()
{return(this.element.scaleY);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
SkewTransform=function(SkewTransformXamlElement)
{this.element=SkewTransformXamlElement;}
SkewTransform.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new SkewTransform(Host.content.createFromXaml("<SkewTransform />"));}catch(ex){}
if(Host.getHost)
return SkewTransform.CreateNew(Host.getHost());return;}
SkewTransform.prototype={set_centerX:function(value)
{TypeSafety({"Double":value});this.element.centerX=value;},get_centerX:function()
{return(this.element.centerX);},set_centerY:function(value)
{TypeSafety({"Double":value});this.element.centerY=value;},get_centerY:function()
{return(this.element.centerY);},set_angleX:function(value)
{TypeSafety({"Double":value});this.element.angleX=value;},get_angleX:function()
{return(this.element.angleX);},set_angleY:function(value)
{TypeSafety({"Double":value});this.element.angleY=value;},get_angleY:function()
{return(this.element.angleY);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
TranslateTransform=function(TranslateTransformXamlElement)
{this.element=TranslateTransformXamlElement;}
TranslateTransform.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TranslateTransform(Host.content.createFromXaml("<TranslateTransform />"));}catch(ex){}
if(Host.getHost)
return TranslateTransform.CreateNew(Host.getHost());return;}
TranslateTransform.prototype={set_x:function(value)
{TypeSafety({"Double":value});this.element.x=value;},get_x:function()
{return(this.element.x);},set_y:function(value)
{TypeSafety({"Double":value});this.element.y=value;},get_y:function()
{return(this.element.y);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
TransformCollection=function(TransformCollectionXamlElement)
{this.element=TransformCollectionXamlElement;}
TransformCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TransformCollection(Host.content.createFromXaml("<TransformCollection />"));}catch(ex){}
if(Host.getHost)
return TransformCollection.CreateNew(Host.getHost());return;}
TransformCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToTransform(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"Transform":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"Transform":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"Transform":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"Transform":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"Transform":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"Transform[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
TransformGroup=function(TransformGroupXamlElement)
{this.element=TransformGroupXamlElement;}
TransformGroup.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TransformGroup(Host.content.createFromXaml("<TransformGroup />"));}catch(ex){}
if(Host.getHost)
return TransformGroup.CreateNew(Host.getHost());return;}
TransformGroup.prototype={set_children:function(value)
{TypeSafety({"TransformCollection":value});this.element.children=value.element;},get_children:function()
{return Convert.ToTransformCollection(this.element.children);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
MatrixTransform=function(MatrixTransformXamlElement)
{this.element=MatrixTransformXamlElement;}
MatrixTransform.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new MatrixTransform(Host.content.createFromXaml("<MatrixTransform />"));}catch(ex){}
if(Host.getHost)
return MatrixTransform.CreateNew(Host.getHost());return;}
MatrixTransform.prototype={set_matrix:function(value)
{TypeSafety({"Matrix":value});this.element.matrix=value.element;},get_matrix:function()
{return Convert.ToMatrix(this.element.matrix);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
LineSegment=function(LineSegmentXamlElement)
{this.element=LineSegmentXamlElement;}
LineSegment.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new LineSegment(Host.content.createFromXaml("<LineSegment />"));}catch(ex){}
if(Host.getHost)
return LineSegment.CreateNew(Host.getHost());return;}
LineSegment.prototype={set_point:function(value)
{TypeSafety({"Point":value});this.element.point=value.element;},get_point:function()
{return Convert.ToPoint(this.element.point);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
BezierSegment=function(BezierSegmentXamlElement)
{this.element=BezierSegmentXamlElement;}
BezierSegment.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new BezierSegment(Host.content.createFromXaml("<BezierSegment />"));}catch(ex){}
if(Host.getHost)
return BezierSegment.CreateNew(Host.getHost());return;}
BezierSegment.prototype={set_point1:function(value)
{TypeSafety({"Point":value});this.element.point1=value.element;},get_point1:function()
{return Convert.ToPoint(this.element.point1);},set_point2:function(value)
{TypeSafety({"Point":value});this.element.point2=value.element;},get_point2:function()
{return Convert.ToPoint(this.element.point2);},set_point3:function(value)
{TypeSafety({"Point":value});this.element.point3=value.element;},get_point3:function()
{return Convert.ToPoint(this.element.point3);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
QuadraticBezierSegment=function(QuadraticBezierSegmentXamlElement)
{this.element=QuadraticBezierSegmentXamlElement;}
QuadraticBezierSegment.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new QuadraticBezierSegment(Host.content.createFromXaml("<QuadraticBezierSegment />"));}catch(ex){}
if(Host.getHost)
return QuadraticBezierSegment.CreateNew(Host.getHost());return;}
QuadraticBezierSegment.prototype={set_point1:function(value)
{TypeSafety({"Point":value});this.element.point1=value.element;},get_point1:function()
{return Convert.ToPoint(this.element.point1);},set_point2:function(value)
{TypeSafety({"Point":value});this.element.point2=value.element;},get_point2:function()
{return Convert.ToPoint(this.element.point2);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
ArcSegment=function(ArcSegmentXamlElement)
{this.element=ArcSegmentXamlElement;}
ArcSegment.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ArcSegment(Host.content.createFromXaml("<ArcSegment />"));}catch(ex){}
if(Host.getHost)
return ArcSegment.CreateNew(Host.getHost());return;}
ArcSegment.prototype={set_point:function(value)
{TypeSafety({"Point":value});this.element.point=value.element;},get_point:function()
{return Convert.ToPoint(this.element.point);},set_size:function(value)
{TypeSafety({"Point":value});this.element.size=value.element;},get_size:function()
{return Convert.ToPoint(this.element.size);},set_rotationAngle:function(value)
{TypeSafety({"Double":value});this.element.rotationAngle=value;},get_rotationAngle:function()
{return(this.element.rotationAngle);},set_isLargeArc:function(value)
{TypeSafety({"Boolean":value});this.element.isLargeArc=value;},get_isLargeArc:function()
{return(this.element.isLargeArc);},set_sweepDirection:function(value)
{TypeSafety({"SweepDirection":value});this.element.sweepDirection=value.element;},get_sweepDirection:function()
{return Convert.ToSweepDirection(this.element.sweepDirection);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
PolyLineSegment=function(PolyLineSegmentXamlElement)
{this.element=PolyLineSegmentXamlElement;}
PolyLineSegment.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new PolyLineSegment(Host.content.createFromXaml("<PolyLineSegment />"));}catch(ex){}
if(Host.getHost)
return PolyLineSegment.CreateNew(Host.getHost());return;}
PolyLineSegment.prototype={set_points:function(value)
{TypeSafety({"Point[]":value});this.element.points=value;},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
PolyBezierSegment=function(PolyBezierSegmentXamlElement)
{this.element=PolyBezierSegmentXamlElement;}
PolyBezierSegment.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new PolyBezierSegment(Host.content.createFromXaml("<PolyBezierSegment />"));}catch(ex){}
if(Host.getHost)
return PolyBezierSegment.CreateNew(Host.getHost());return;}
PolyBezierSegment.prototype={set_points:function(value)
{TypeSafety({"Point[]":value});this.element.points=value;},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
PolyQuadraticBezierSegment=function(PolyQuadraticBezierSegmentXamlElement)
{this.element=PolyQuadraticBezierSegmentXamlElement;}
PolyQuadraticBezierSegment.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new PolyQuadraticBezierSegment(Host.content.createFromXaml("<PolyQuadraticBezierSegment />"));}catch(ex){}
if(Host.getHost)
return PolyQuadraticBezierSegment.CreateNew(Host.getHost());return;}
PolyQuadraticBezierSegment.prototype={set_points:function(value)
{TypeSafety({"Point[]":value});this.element.points=value;},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
PathSegmentCollection=function(PathSegmentCollectionXamlElement)
{this.element=PathSegmentCollectionXamlElement;}
PathSegmentCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new PathSegmentCollection(Host.content.createFromXaml("<PathSegmentCollection />"));}catch(ex){}
if(Host.getHost)
return PathSegmentCollection.CreateNew(Host.getHost());return;}
PathSegmentCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToPathSegment(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"PathSegment":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"PathSegment":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"PathSegment":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"PathSegment":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"PathSegment":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"PathSegment[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
PathFigure=function(PathFigureXamlElement)
{this.element=PathFigureXamlElement;}
PathFigure.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new PathFigure(Host.content.createFromXaml("<PathFigure />"));}catch(ex){}
if(Host.getHost)
return PathFigure.CreateNew(Host.getHost());return;}
PathFigure.prototype={set_segments:function(value)
{TypeSafety({"PathSegmentCollection":value});this.element.segments=value.element;},get_segments:function()
{return Convert.ToPathSegmentCollection(this.element.segments);},set_startPoint:function(value)
{TypeSafety({"Point":value});this.element.startPoint=value.element;},get_startPoint:function()
{return Convert.ToPoint(this.element.startPoint);},set_isClosed:function(value)
{TypeSafety({"Boolean":value});this.element.isClosed=value;},get_isClosed:function()
{return(this.element.isClosed);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
PathFigureCollection=function(PathFigureCollectionXamlElement)
{this.element=PathFigureCollectionXamlElement;}
PathFigureCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new PathFigureCollection(Host.content.createFromXaml("<PathFigureCollection />"));}catch(ex){}
if(Host.getHost)
return PathFigureCollection.CreateNew(Host.getHost());return;}
PathFigureCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToPathFigure(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"PathFigure":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"PathFigure":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"PathFigure":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"PathFigure":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"PathFigure":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"PathFigure[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
PathGeometry=function(PathGeometryXamlElement)
{this.element=PathGeometryXamlElement;}
PathGeometry.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new PathGeometry(Host.content.createFromXaml("<PathGeometry />"));}catch(ex){}
if(Host.getHost)
return PathGeometry.CreateNew(Host.getHost());return;}
PathGeometry.prototype={set_figures:function(value)
{TypeSafety({"PathFigureCollection":value});this.element.figures=value.element;},get_figures:function()
{return Convert.ToPathFigureCollection(this.element.figures);},set_fillRule:function(value)
{TypeSafety({"FillRule":value});this.element.fillRule=value.element;},get_fillRule:function()
{return Convert.ToFillRule(this.element.fillRule);},set_transform:function(value)
{TypeSafety({"Transform":value});this.element.transform=value.element;},get_transform:function()
{return Convert.ToTransform(this.element.transform);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
EllipseGeometry=function(EllipseGeometryXamlElement)
{this.element=EllipseGeometryXamlElement;}
EllipseGeometry.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new EllipseGeometry(Host.content.createFromXaml("<EllipseGeometry />"));}catch(ex){}
if(Host.getHost)
return EllipseGeometry.CreateNew(Host.getHost());return;}
EllipseGeometry.prototype={set_center:function(value)
{TypeSafety({"Point":value});this.element.center=value.element;},get_center:function()
{return Convert.ToPoint(this.element.center);},set_radiusX:function(value)
{TypeSafety({"Double":value});this.element.radiusX=value;},get_radiusX:function()
{return(this.element.radiusX);},set_radiusY:function(value)
{TypeSafety({"Double":value});this.element.radiusY=value;},get_radiusY:function()
{return(this.element.radiusY);},set_fillRule:function(value)
{TypeSafety({"FillRule":value});this.element.fillRule=value.element;},get_fillRule:function()
{return Convert.ToFillRule(this.element.fillRule);},set_transform:function(value)
{TypeSafety({"Transform":value});this.element.transform=value.element;},get_transform:function()
{return Convert.ToTransform(this.element.transform);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
RectangleGeometry=function(RectangleGeometryXamlElement)
{this.element=RectangleGeometryXamlElement;}
RectangleGeometry.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new RectangleGeometry(Host.content.createFromXaml("<RectangleGeometry />"));}catch(ex){}
if(Host.getHost)
return RectangleGeometry.CreateNew(Host.getHost());return;}
RectangleGeometry.prototype={set_rect:function(value)
{TypeSafety({"Rect":value});this.element.rect=value.element;},get_rect:function()
{return Convert.ToRect(this.element.rect);},set_radiusX:function(value)
{TypeSafety({"Double":value});this.element.radiusX=value;},get_radiusX:function()
{return(this.element.radiusX);},set_radiusY:function(value)
{TypeSafety({"Double":value});this.element.radiusY=value;},get_radiusY:function()
{return(this.element.radiusY);},set_fillRule:function(value)
{TypeSafety({"FillRule":value});this.element.fillRule=value.element;},get_fillRule:function()
{return Convert.ToFillRule(this.element.fillRule);},set_transform:function(value)
{TypeSafety({"Transform":value});this.element.transform=value.element;},get_transform:function()
{return Convert.ToTransform(this.element.transform);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
LineGeometry=function(LineGeometryXamlElement)
{this.element=LineGeometryXamlElement;}
LineGeometry.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new LineGeometry(Host.content.createFromXaml("<LineGeometry />"));}catch(ex){}
if(Host.getHost)
return LineGeometry.CreateNew(Host.getHost());return;}
LineGeometry.prototype={set_startPoint:function(value)
{TypeSafety({"Point":value});this.element.startPoint=value.element;},get_startPoint:function()
{return Convert.ToPoint(this.element.startPoint);},set_endPoint:function(value)
{TypeSafety({"Point":value});this.element.endPoint=value.element;},get_endPoint:function()
{return Convert.ToPoint(this.element.endPoint);},set_fillRule:function(value)
{TypeSafety({"FillRule":value});this.element.fillRule=value.element;},get_fillRule:function()
{return Convert.ToFillRule(this.element.fillRule);},set_transform:function(value)
{TypeSafety({"Transform":value});this.element.transform=value.element;},get_transform:function()
{return Convert.ToTransform(this.element.transform);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
GeometryCollection=function(GeometryCollectionXamlElement)
{this.element=GeometryCollectionXamlElement;}
GeometryCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new GeometryCollection(Host.content.createFromXaml("<GeometryCollection />"));}catch(ex){}
if(Host.getHost)
return GeometryCollection.CreateNew(Host.getHost());return;}
GeometryCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToGeometry(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"Geometry":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"Geometry":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"Geometry":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"Geometry":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"Geometry":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"Geometry[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
GeometryGroup=function(GeometryGroupXamlElement)
{this.element=GeometryGroupXamlElement;}
GeometryGroup.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new GeometryGroup(Host.content.createFromXaml("<GeometryGroup />"));}catch(ex){}
if(Host.getHost)
return GeometryGroup.CreateNew(Host.getHost());return;}
GeometryGroup.prototype={set_children:function(value)
{TypeSafety({"GeometryCollection":value});this.element.children=value.element;},get_children:function()
{return Convert.ToGeometryCollection(this.element.children);},set_fillRule:function(value)
{TypeSafety({"FillRule":value});this.element.fillRule=value.element;},get_fillRule:function()
{return Convert.ToFillRule(this.element.fillRule);},set_transform:function(value)
{TypeSafety({"Transform":value});this.element.transform=value.element;},get_transform:function()
{return Convert.ToTransform(this.element.transform);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
SolidColorBrush=function(SolidColorBrushXamlElement)
{this.element=SolidColorBrushXamlElement;}
SolidColorBrush.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new SolidColorBrush(Host.content.createFromXaml("<SolidColorBrush />"));}catch(ex){}
if(Host.getHost)
return SolidColorBrush.CreateNew(Host.getHost());return;}
SolidColorBrush.prototype={set_color:function(value)
{TypeSafety({"Color":value});this.element.color=value.element;},get_color:function()
{return Convert.ToColor(this.element.color);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_transform:function(value)
{TypeSafety({"Transform":value});this.element.transform=value.element;},get_transform:function()
{return Convert.ToTransform(this.element.transform);},set_relativeTransform:function(value)
{TypeSafety({"Transform":value});this.element.relativeTransform=value.element;},get_relativeTransform:function()
{return Convert.ToTransform(this.element.relativeTransform);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
GradientStop=function(GradientStopXamlElement)
{this.element=GradientStopXamlElement;}
GradientStop.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new GradientStop(Host.content.createFromXaml("<GradientStop />"));}catch(ex){}
if(Host.getHost)
return GradientStop.CreateNew(Host.getHost());return;}
GradientStop.prototype={set_color:function(value)
{TypeSafety({"Color":value});this.element.color=value.element;},get_color:function()
{return Convert.ToColor(this.element.color);},set_offset:function(value)
{TypeSafety({"Double":value});this.element.offset=value;},get_offset:function()
{return(this.element.offset);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
GradientStopCollection=function(GradientStopCollectionXamlElement)
{this.element=GradientStopCollectionXamlElement;}
GradientStopCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new GradientStopCollection(Host.content.createFromXaml("<GradientStopCollection />"));}catch(ex){}
if(Host.getHost)
return GradientStopCollection.CreateNew(Host.getHost());return;}
GradientStopCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToGradientStop(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"GradientStop":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"GradientStop":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"GradientStop":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"GradientStop":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"GradientStop":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"GradientStop[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
GradientBrush=function(GradientBrushXamlElement)
{this.element=GradientBrushXamlElement;}
GradientBrush.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new GradientBrush(Host.content.createFromXaml("<GradientBrush />"));}catch(ex){}
if(Host.getHost)
return GradientBrush.CreateNew(Host.getHost());return;}
GradientBrush.prototype={set_spreadMethod:function(value)
{TypeSafety({"GradientSpreadMethod":value});this.element.spreadMethod=value.element;},get_spreadMethod:function()
{return Convert.ToGradientSpreadMethod(this.element.spreadMethod);},set_mappingMode:function(value)
{TypeSafety({"BrushMappingMode":value});this.element.mappingMode=value.element;},get_mappingMode:function()
{return Convert.ToBrushMappingMode(this.element.mappingMode);},set_colorInterpolationMode:function(value)
{TypeSafety({"ColorInterpolationMode":value});this.element.colorInterpolationMode=value.element;},get_colorInterpolationMode:function()
{return Convert.ToColorInterpolationMode(this.element.colorInterpolationMode);},set_gradientStops:function(value)
{TypeSafety({"GradientStopCollection":value});this.element.gradientStops=value.element;},get_gradientStops:function()
{return Convert.ToGradientStopCollection(this.element.gradientStops);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_transform:function(value)
{TypeSafety({"Transform":value});this.element.transform=value.element;},get_transform:function()
{return Convert.ToTransform(this.element.transform);},set_relativeTransform:function(value)
{TypeSafety({"Transform":value});this.element.relativeTransform=value.element;},get_relativeTransform:function()
{return Convert.ToTransform(this.element.relativeTransform);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
LinearGradientBrush=function(LinearGradientBrushXamlElement)
{this.element=LinearGradientBrushXamlElement;}
LinearGradientBrush.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new LinearGradientBrush(Host.content.createFromXaml("<LinearGradientBrush />"));}catch(ex){}
if(Host.getHost)
return LinearGradientBrush.CreateNew(Host.getHost());return;}
LinearGradientBrush.prototype={set_startPoint:function(value)
{TypeSafety({"Point":value});this.element.startPoint=value.element;},get_startPoint:function()
{return Convert.ToPoint(this.element.startPoint);},set_endPoint:function(value)
{TypeSafety({"Point":value});this.element.endPoint=value.element;},get_endPoint:function()
{return Convert.ToPoint(this.element.endPoint);},set_spreadMethod:function(value)
{TypeSafety({"GradientSpreadMethod":value});this.element.spreadMethod=value.element;},get_spreadMethod:function()
{return Convert.ToGradientSpreadMethod(this.element.spreadMethod);},set_mappingMode:function(value)
{TypeSafety({"BrushMappingMode":value});this.element.mappingMode=value.element;},get_mappingMode:function()
{return Convert.ToBrushMappingMode(this.element.mappingMode);},set_colorInterpolationMode:function(value)
{TypeSafety({"ColorInterpolationMode":value});this.element.colorInterpolationMode=value.element;},get_colorInterpolationMode:function()
{return Convert.ToColorInterpolationMode(this.element.colorInterpolationMode);},set_gradientStops:function(value)
{TypeSafety({"GradientStopCollection":value});this.element.gradientStops=value.element;},get_gradientStops:function()
{return Convert.ToGradientStopCollection(this.element.gradientStops);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_transform:function(value)
{TypeSafety({"Transform":value});this.element.transform=value.element;},get_transform:function()
{return Convert.ToTransform(this.element.transform);},set_relativeTransform:function(value)
{TypeSafety({"Transform":value});this.element.relativeTransform=value.element;},get_relativeTransform:function()
{return Convert.ToTransform(this.element.relativeTransform);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
RadialGradientBrush=function(RadialGradientBrushXamlElement)
{this.element=RadialGradientBrushXamlElement;}
RadialGradientBrush.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new RadialGradientBrush(Host.content.createFromXaml("<RadialGradientBrush />"));}catch(ex){}
if(Host.getHost)
return RadialGradientBrush.CreateNew(Host.getHost());return;}
RadialGradientBrush.prototype={set_center:function(value)
{TypeSafety({"Point":value});this.element.center=value.element;},get_center:function()
{return Convert.ToPoint(this.element.center);},set_gradientOrigin:function(value)
{TypeSafety({"Point":value});this.element.gradientOrigin=value.element;},get_gradientOrigin:function()
{return Convert.ToPoint(this.element.gradientOrigin);},set_radiusX:function(value)
{TypeSafety({"Double":value});this.element.radiusX=value;},get_radiusX:function()
{return(this.element.radiusX);},set_radiusY:function(value)
{TypeSafety({"Double":value});this.element.radiusY=value;},get_radiusY:function()
{return(this.element.radiusY);},set_spreadMethod:function(value)
{TypeSafety({"GradientSpreadMethod":value});this.element.spreadMethod=value.element;},get_spreadMethod:function()
{return Convert.ToGradientSpreadMethod(this.element.spreadMethod);},set_mappingMode:function(value)
{TypeSafety({"BrushMappingMode":value});this.element.mappingMode=value.element;},get_mappingMode:function()
{return Convert.ToBrushMappingMode(this.element.mappingMode);},set_colorInterpolationMode:function(value)
{TypeSafety({"ColorInterpolationMode":value});this.element.colorInterpolationMode=value.element;},get_colorInterpolationMode:function()
{return Convert.ToColorInterpolationMode(this.element.colorInterpolationMode);},set_gradientStops:function(value)
{TypeSafety({"GradientStopCollection":value});this.element.gradientStops=value.element;},get_gradientStops:function()
{return Convert.ToGradientStopCollection(this.element.gradientStops);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_transform:function(value)
{TypeSafety({"Transform":value});this.element.transform=value.element;},get_transform:function()
{return Convert.ToTransform(this.element.transform);},set_relativeTransform:function(value)
{TypeSafety({"Transform":value});this.element.relativeTransform=value.element;},get_relativeTransform:function()
{return Convert.ToTransform(this.element.relativeTransform);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
ImageBrush=function(ImageBrushXamlElement)
{this.element=ImageBrushXamlElement;}
ImageBrush.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ImageBrush(Host.content.createFromXaml("<ImageBrush />"));}catch(ex){}
if(Host.getHost)
return ImageBrush.CreateNew(Host.getHost());return;}
ImageBrush.prototype={set_imageSource:function(value)
{TypeSafety({"String":value});this.element.imageSource=value;},get_imageSource:function()
{return(this.element.imageSource);},set_downloadProgress:function(value)
{TypeSafety({"Double":value});this.element.downloadProgress=value;},get_downloadProgress:function()
{return(this.element.downloadProgress);},set_alignmentX:function(value)
{TypeSafety({"AlignmentX":value});this.element.alignmentX=value.element;},get_alignmentX:function()
{return Convert.ToAlignmentX(this.element.alignmentX);},set_alignmentY:function(value)
{TypeSafety({"AlignmentY":value});this.element.alignmentY=value.element;},get_alignmentY:function()
{return Convert.ToAlignmentY(this.element.alignmentY);},set_stretch:function(value)
{TypeSafety({"Stretch":value});this.element.stretch=value.element;},get_stretch:function()
{return Convert.ToStretch(this.element.stretch);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_transform:function(value)
{TypeSafety({"Transform":value});this.element.transform=value.element;},get_transform:function()
{return Convert.ToTransform(this.element.transform);},set_relativeTransform:function(value)
{TypeSafety({"Transform":value});this.element.relativeTransform=value.element;},get_relativeTransform:function()
{return Convert.ToTransform(this.element.relativeTransform);},get_name:function()
{return(this.element.name);},setSource:function(Downloader,PartName)
{TypeSafety({"DependencyObject":Downloader,"String":PartName});return(this.element.setSource(Downloader.element,PartName));},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_ImageFailed:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("ImageFailed",handler);},remove_ImageFailed:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("ImageFailed",eventId)}}
VideoBrush=function(VideoBrushXamlElement)
{this.element=VideoBrushXamlElement;}
VideoBrush.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new VideoBrush(Host.content.createFromXaml("<VideoBrush />"));}catch(ex){}
if(Host.getHost)
return VideoBrush.CreateNew(Host.getHost());return;}
VideoBrush.prototype={set_sourceName:function(value)
{TypeSafety({"String":value});this.element.sourceName=value;},get_sourceName:function()
{return(this.element.sourceName);},set_alignmentX:function(value)
{TypeSafety({"AlignmentX":value});this.element.alignmentX=value.element;},get_alignmentX:function()
{return Convert.ToAlignmentX(this.element.alignmentX);},set_alignmentY:function(value)
{TypeSafety({"AlignmentY":value});this.element.alignmentY=value.element;},get_alignmentY:function()
{return Convert.ToAlignmentY(this.element.alignmentY);},set_stretch:function(value)
{TypeSafety({"Stretch":value});this.element.stretch=value.element;},get_stretch:function()
{return Convert.ToStretch(this.element.stretch);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_transform:function(value)
{TypeSafety({"Transform":value});this.element.transform=value.element;},get_transform:function()
{return Convert.ToTransform(this.element.transform);},set_relativeTransform:function(value)
{TypeSafety({"Transform":value});this.element.relativeTransform=value.element;},get_relativeTransform:function()
{return Convert.ToTransform(this.element.relativeTransform);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
VisualCollection=function(VisualCollectionXamlElement)
{this.element=VisualCollectionXamlElement;}
VisualCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new VisualCollection(Host.content.createFromXaml("<VisualCollection />"));}catch(ex){}
if(Host.getHost)
return VisualCollection.CreateNew(Host.getHost());return;}
VisualCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToVisual(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"Visual":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"Visual":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"Visual":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"Visual":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"Visual":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"Visual[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
TimelineCollection=function(TimelineCollectionXamlElement)
{this.element=TimelineCollectionXamlElement;}
TimelineCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TimelineCollection(Host.content.createFromXaml("<TimelineCollection />"));}catch(ex){}
if(Host.getHost)
return TimelineCollection.CreateNew(Host.getHost());return;}
TimelineCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToTimeline(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"Timeline":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"Timeline":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"Timeline":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"Timeline":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"Timeline":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"Timeline[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
MediaAttribute=function(MediaAttributeXamlElement)
{this.element=MediaAttributeXamlElement;}
MediaAttribute.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new MediaAttribute(Host.content.createFromXaml("<MediaAttribute />"));}catch(ex){}
if(Host.getHost)
return MediaAttribute.CreateNew(Host.getHost());return;}
MediaAttribute.prototype={set_value:function(value)
{TypeSafety({"String":value});this.element.value=value;},get_value:function()
{return(this.element.value);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
MediaAttributeCollection=function(MediaAttributeCollectionXamlElement)
{this.element=MediaAttributeCollectionXamlElement;}
MediaAttributeCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new MediaAttributeCollection(Host.content.createFromXaml("<MediaAttributeCollection />"));}catch(ex){}
if(Host.getHost)
return MediaAttributeCollection.CreateNew(Host.getHost());return;}
MediaAttributeCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToMediaAttribute(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},getItemByName:function(AttributeName)
{TypeSafety({"String":AttributeName});return Convert.ToDependencyObject(this.element.getItemByName(AttributeName));},add:function(value)
{TypeSafety({"MediaAttribute":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"MediaAttribute":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"MediaAttribute":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"MediaAttribute":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"MediaAttribute":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"MediaAttribute[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
FillBehavior=function(FillBehaviorXamlElement)
{this.element=FillBehaviorXamlElement;}
FillBehavior.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new FillBehavior(Host.content.createFromXaml("<FillBehavior />"));}catch(ex){}
if(Host.getHost)
return FillBehavior.CreateNew(Host.getHost());return;}
FillBehavior.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
Timeline=function(TimelineXamlElement)
{this.element=TimelineXamlElement;}
Timeline.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Timeline(Host.content.createFromXaml("<Timeline />"));}catch(ex){}
if(Host.getHost)
return Timeline.CreateNew(Host.getHost());return;}
Timeline.prototype={set_autoReverse:function(value)
{TypeSafety({"Boolean":value});this.element.autoReverse=value;},get_autoReverse:function()
{return(this.element.autoReverse);},set_beginTime:function(value)
{TypeSafety({"TimeSpan":value});this.element.beginTime=value;},get_beginTime:function()
{return(this.element.beginTime);},set_duration:function(value)
{TypeSafety({"Duration":value});this.element.duration=value.element;},get_duration:function()
{return Convert.ToDuration(this.element.duration);},set_speedRatio:function(value)
{TypeSafety({"Double":value});this.element.speedRatio=value;},get_speedRatio:function()
{return(this.element.speedRatio);},set_fillBehavior:function(value)
{TypeSafety({"FillBehavior":value});this.element.fillBehavior=value.element;},get_fillBehavior:function()
{return Convert.ToFillBehavior(this.element.fillBehavior);},set_repeatBehavior:function(value)
{TypeSafety({"RepeatBehavior":value});this.element.repeatBehavior=value.element;},get_repeatBehavior:function()
{return Convert.ToRepeatBehavior(this.element.repeatBehavior);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
TimelineGroup=function(TimelineGroupXamlElement)
{this.element=TimelineGroupXamlElement;}
TimelineGroup.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TimelineGroup(Host.content.createFromXaml("<TimelineGroup />"));}catch(ex){}
if(Host.getHost)
return TimelineGroup.CreateNew(Host.getHost());return;}
TimelineGroup.prototype={set_children:function(value)
{TypeSafety({"TimelineCollection":value});this.element.children=value.element;},get_children:function()
{return Convert.ToTimelineCollection(this.element.children);},set_autoReverse:function(value)
{TypeSafety({"Boolean":value});this.element.autoReverse=value;},get_autoReverse:function()
{return(this.element.autoReverse);},set_beginTime:function(value)
{TypeSafety({"TimeSpan":value});this.element.beginTime=value;},get_beginTime:function()
{return(this.element.beginTime);},set_duration:function(value)
{TypeSafety({"Duration":value});this.element.duration=value.element;},get_duration:function()
{return Convert.ToDuration(this.element.duration);},set_speedRatio:function(value)
{TypeSafety({"Double":value});this.element.speedRatio=value;},get_speedRatio:function()
{return(this.element.speedRatio);},set_fillBehavior:function(value)
{TypeSafety({"FillBehavior":value});this.element.fillBehavior=value.element;},get_fillBehavior:function()
{return Convert.ToFillBehavior(this.element.fillBehavior);},set_repeatBehavior:function(value)
{TypeSafety({"RepeatBehavior":value});this.element.repeatBehavior=value.element;},get_repeatBehavior:function()
{return Convert.ToRepeatBehavior(this.element.repeatBehavior);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
ParallelTimeline=function(ParallelTimelineXamlElement)
{this.element=ParallelTimelineXamlElement;}
ParallelTimeline.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ParallelTimeline(Host.content.createFromXaml("<ParallelTimeline />"));}catch(ex){}
if(Host.getHost)
return ParallelTimeline.CreateNew(Host.getHost());return;}
ParallelTimeline.prototype={set_children:function(value)
{TypeSafety({"TimelineCollection":value});this.element.children=value.element;},get_children:function()
{return Convert.ToTimelineCollection(this.element.children);},set_autoReverse:function(value)
{TypeSafety({"Boolean":value});this.element.autoReverse=value;},get_autoReverse:function()
{return(this.element.autoReverse);},set_beginTime:function(value)
{TypeSafety({"TimeSpan":value});this.element.beginTime=value;},get_beginTime:function()
{return(this.element.beginTime);},set_duration:function(value)
{TypeSafety({"Duration":value});this.element.duration=value.element;},get_duration:function()
{return Convert.ToDuration(this.element.duration);},set_speedRatio:function(value)
{TypeSafety({"Double":value});this.element.speedRatio=value;},get_speedRatio:function()
{return(this.element.speedRatio);},set_fillBehavior:function(value)
{TypeSafety({"FillBehavior":value});this.element.fillBehavior=value.element;},get_fillBehavior:function()
{return Convert.ToFillBehavior(this.element.fillBehavior);},set_repeatBehavior:function(value)
{TypeSafety({"RepeatBehavior":value});this.element.repeatBehavior=value.element;},get_repeatBehavior:function()
{return Convert.ToRepeatBehavior(this.element.repeatBehavior);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
BeginStoryboard=function(BeginStoryboardXamlElement)
{this.element=BeginStoryboardXamlElement;}
BeginStoryboard.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new BeginStoryboard(Host.content.createFromXaml("<BeginStoryboard />"));}catch(ex){}
if(Host.getHost)
return BeginStoryboard.CreateNew(Host.getHost());return;}
BeginStoryboard.prototype={set_storyboard:function(value)
{TypeSafety({"Storyboard":value});this.element.storyboard=value.element;},get_storyboard:function()
{return Convert.ToStoryboard(this.element.storyboard);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
Storyboard=function(StoryboardXamlElement)
{this.element=StoryboardXamlElement;}
Storyboard.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Storyboard(Host.content.createFromXaml("<Storyboard />"));}catch(ex){}
if(Host.getHost)
return Storyboard.CreateNew(Host.getHost());return;}
Storyboard.prototype={set_children:function(value)
{TypeSafety({"TimelineCollection":value});this.element.children=value.element;},get_children:function()
{return Convert.ToTimelineCollection(this.element.children);},set_autoReverse:function(value)
{TypeSafety({"Boolean":value});this.element.autoReverse=value;},get_autoReverse:function()
{return(this.element.autoReverse);},set_beginTime:function(value)
{TypeSafety({"TimeSpan":value});this.element.beginTime=value;},get_beginTime:function()
{return(this.element.beginTime);},set_duration:function(value)
{TypeSafety({"Duration":value});this.element.duration=value.element;},get_duration:function()
{return Convert.ToDuration(this.element.duration);},set_speedRatio:function(value)
{TypeSafety({"Double":value});this.element.speedRatio=value;},get_speedRatio:function()
{return(this.element.speedRatio);},set_fillBehavior:function(value)
{TypeSafety({"FillBehavior":value});this.element.fillBehavior=value.element;},get_fillBehavior:function()
{return Convert.ToFillBehavior(this.element.fillBehavior);},set_repeatBehavior:function(value)
{TypeSafety({"RepeatBehavior":value});this.element.repeatBehavior=value.element;},get_repeatBehavior:function()
{return Convert.ToRepeatBehavior(this.element.repeatBehavior);},get_name:function()
{return(this.element.name);},seek:function(timespan)
{TypeSafety({"String":timespan});return(this.element.seek(timespan));},stop:function()
{TypeSafety({});return(this.element.stop());},begin:function()
{TypeSafety({});return(this.element.begin());},pause:function()
{TypeSafety({});return(this.element.pause());},resume:function()
{TypeSafety({});return(this.element.resume());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Completed:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Completed",handler);},remove_Completed:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Completed",eventId)}}
Animation=function(AnimationXamlElement)
{this.element=AnimationXamlElement;}
Animation.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Animation(Host.content.createFromXaml("<Animation />"));}catch(ex){}
if(Host.getHost)
return Animation.CreateNew(Host.getHost());return;}
Animation.prototype={set_autoReverse:function(value)
{TypeSafety({"Boolean":value});this.element.autoReverse=value;},get_autoReverse:function()
{return(this.element.autoReverse);},set_beginTime:function(value)
{TypeSafety({"TimeSpan":value});this.element.beginTime=value;},get_beginTime:function()
{return(this.element.beginTime);},set_duration:function(value)
{TypeSafety({"Duration":value});this.element.duration=value.element;},get_duration:function()
{return Convert.ToDuration(this.element.duration);},set_speedRatio:function(value)
{TypeSafety({"Double":value});this.element.speedRatio=value;},get_speedRatio:function()
{return(this.element.speedRatio);},set_fillBehavior:function(value)
{TypeSafety({"FillBehavior":value});this.element.fillBehavior=value.element;},get_fillBehavior:function()
{return Convert.ToFillBehavior(this.element.fillBehavior);},set_repeatBehavior:function(value)
{TypeSafety({"RepeatBehavior":value});this.element.repeatBehavior=value.element;},get_repeatBehavior:function()
{return Convert.ToRepeatBehavior(this.element.repeatBehavior);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
DoubleAnimation=function(DoubleAnimationXamlElement)
{this.element=DoubleAnimationXamlElement;}
DoubleAnimation.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new DoubleAnimation(Host.content.createFromXaml("<DoubleAnimation />"));}catch(ex){}
if(Host.getHost)
return DoubleAnimation.CreateNew(Host.getHost());return;}
DoubleAnimation.prototype={set_from:function(value)
{TypeSafety({"Double":value});this.element.from=value;},get_from:function()
{return(this.element.from);},set_to:function(value)
{TypeSafety({"Double":value});this.element.to=value;},get_to:function()
{return(this.element.to);},set_by:function(value)
{TypeSafety({"Double":value});this.element.by=value;},get_by:function()
{return(this.element.by);},set_autoReverse:function(value)
{TypeSafety({"Boolean":value});this.element.autoReverse=value;},get_autoReverse:function()
{return(this.element.autoReverse);},set_beginTime:function(value)
{TypeSafety({"TimeSpan":value});this.element.beginTime=value;},get_beginTime:function()
{return(this.element.beginTime);},set_duration:function(value)
{TypeSafety({"Duration":value});this.element.duration=value.element;},get_duration:function()
{return Convert.ToDuration(this.element.duration);},set_speedRatio:function(value)
{TypeSafety({"Double":value});this.element.speedRatio=value;},get_speedRatio:function()
{return(this.element.speedRatio);},set_fillBehavior:function(value)
{TypeSafety({"FillBehavior":value});this.element.fillBehavior=value.element;},get_fillBehavior:function()
{return Convert.ToFillBehavior(this.element.fillBehavior);},set_repeatBehavior:function(value)
{TypeSafety({"RepeatBehavior":value});this.element.repeatBehavior=value.element;},get_repeatBehavior:function()
{return Convert.ToRepeatBehavior(this.element.repeatBehavior);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
ColorAnimation=function(ColorAnimationXamlElement)
{this.element=ColorAnimationXamlElement;}
ColorAnimation.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ColorAnimation(Host.content.createFromXaml("<ColorAnimation />"));}catch(ex){}
if(Host.getHost)
return ColorAnimation.CreateNew(Host.getHost());return;}
ColorAnimation.prototype={set_from:function(value)
{TypeSafety({"Color":value});this.element.from=value.element;},get_from:function()
{return Convert.ToColor(this.element.from);},set_to:function(value)
{TypeSafety({"Color":value});this.element.to=value.element;},get_to:function()
{return Convert.ToColor(this.element.to);},set_by:function(value)
{TypeSafety({"Color":value});this.element.by=value.element;},get_by:function()
{return Convert.ToColor(this.element.by);},set_autoReverse:function(value)
{TypeSafety({"Boolean":value});this.element.autoReverse=value;},get_autoReverse:function()
{return(this.element.autoReverse);},set_beginTime:function(value)
{TypeSafety({"TimeSpan":value});this.element.beginTime=value;},get_beginTime:function()
{return(this.element.beginTime);},set_duration:function(value)
{TypeSafety({"Duration":value});this.element.duration=value.element;},get_duration:function()
{return Convert.ToDuration(this.element.duration);},set_speedRatio:function(value)
{TypeSafety({"Double":value});this.element.speedRatio=value;},get_speedRatio:function()
{return(this.element.speedRatio);},set_fillBehavior:function(value)
{TypeSafety({"FillBehavior":value});this.element.fillBehavior=value.element;},get_fillBehavior:function()
{return Convert.ToFillBehavior(this.element.fillBehavior);},set_repeatBehavior:function(value)
{TypeSafety({"RepeatBehavior":value});this.element.repeatBehavior=value.element;},get_repeatBehavior:function()
{return Convert.ToRepeatBehavior(this.element.repeatBehavior);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
PointAnimation=function(PointAnimationXamlElement)
{this.element=PointAnimationXamlElement;}
PointAnimation.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new PointAnimation(Host.content.createFromXaml("<PointAnimation />"));}catch(ex){}
if(Host.getHost)
return PointAnimation.CreateNew(Host.getHost());return;}
PointAnimation.prototype={set_from:function(value)
{TypeSafety({"Point":value});this.element.from=value.element;},get_from:function()
{return Convert.ToPoint(this.element.from);},set_to:function(value)
{TypeSafety({"Point":value});this.element.to=value.element;},get_to:function()
{return Convert.ToPoint(this.element.to);},set_by:function(value)
{TypeSafety({"Point":value});this.element.by=value.element;},get_by:function()
{return Convert.ToPoint(this.element.by);},set_autoReverse:function(value)
{TypeSafety({"Boolean":value});this.element.autoReverse=value;},get_autoReverse:function()
{return(this.element.autoReverse);},set_beginTime:function(value)
{TypeSafety({"TimeSpan":value});this.element.beginTime=value;},get_beginTime:function()
{return(this.element.beginTime);},set_duration:function(value)
{TypeSafety({"Duration":value});this.element.duration=value.element;},get_duration:function()
{return Convert.ToDuration(this.element.duration);},set_speedRatio:function(value)
{TypeSafety({"Double":value});this.element.speedRatio=value;},get_speedRatio:function()
{return(this.element.speedRatio);},set_fillBehavior:function(value)
{TypeSafety({"FillBehavior":value});this.element.fillBehavior=value.element;},get_fillBehavior:function()
{return Convert.ToFillBehavior(this.element.fillBehavior);},set_repeatBehavior:function(value)
{TypeSafety({"RepeatBehavior":value});this.element.repeatBehavior=value.element;},get_repeatBehavior:function()
{return Convert.ToRepeatBehavior(this.element.repeatBehavior);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
KeySpline=function(KeySplineXamlElement)
{this.element=KeySplineXamlElement;}
KeySpline.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new KeySpline(Host.content.createFromXaml("<KeySpline />"));}catch(ex){}
if(Host.getHost)
return KeySpline.CreateNew(Host.getHost());return;}
KeySpline.prototype={get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
KeyFrame=function(KeyFrameXamlElement)
{this.element=KeyFrameXamlElement;}
KeyFrame.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new KeyFrame(Host.content.createFromXaml("<KeyFrame />"));}catch(ex){}
if(Host.getHost)
return KeyFrame.CreateNew(Host.getHost());return;}
KeyFrame.prototype={set_keyTime:function(value)
{TypeSafety({"KeyTime":value});this.element.keyTime=value.element;},get_keyTime:function()
{return Convert.ToKeyTime(this.element.keyTime);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
ColorKeyFrameCollection=function(ColorKeyFrameCollectionXamlElement)
{this.element=ColorKeyFrameCollectionXamlElement;}
ColorKeyFrameCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ColorKeyFrameCollection(Host.content.createFromXaml("<ColorKeyFrameCollection />"));}catch(ex){}
if(Host.getHost)
return ColorKeyFrameCollection.CreateNew(Host.getHost());return;}
ColorKeyFrameCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToColorKeyFrame(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"ColorKeyFrame":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"ColorKeyFrame":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"ColorKeyFrame":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"ColorKeyFrame":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"ColorKeyFrame":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"ColorKeyFrame[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
DoubleKeyFrameCollection=function(DoubleKeyFrameCollectionXamlElement)
{this.element=DoubleKeyFrameCollectionXamlElement;}
DoubleKeyFrameCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new DoubleKeyFrameCollection(Host.content.createFromXaml("<DoubleKeyFrameCollection />"));}catch(ex){}
if(Host.getHost)
return DoubleKeyFrameCollection.CreateNew(Host.getHost());return;}
DoubleKeyFrameCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToDoubleKeyFrame(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"DoubleKeyFrame":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"DoubleKeyFrame":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"DoubleKeyFrame":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"DoubleKeyFrame":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"DoubleKeyFrame":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"DoubleKeyFrame[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
PointKeyFrameCollection=function(PointKeyFrameCollectionXamlElement)
{this.element=PointKeyFrameCollectionXamlElement;}
PointKeyFrameCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new PointKeyFrameCollection(Host.content.createFromXaml("<PointKeyFrameCollection />"));}catch(ex){}
if(Host.getHost)
return PointKeyFrameCollection.CreateNew(Host.getHost());return;}
PointKeyFrameCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToPointKeyFrame(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"PointKeyFrame":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"PointKeyFrame":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"PointKeyFrame":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"PointKeyFrame":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"PointKeyFrame":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"PointKeyFrame[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
DoubleAnimationUsingKeyFrames=function(DoubleAnimationUsingKeyFramesXamlElement)
{this.element=DoubleAnimationUsingKeyFramesXamlElement;}
DoubleAnimationUsingKeyFrames.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new DoubleAnimationUsingKeyFrames(Host.content.createFromXaml("<DoubleAnimationUsingKeyFrames />"));}catch(ex){}
if(Host.getHost)
return DoubleAnimationUsingKeyFrames.CreateNew(Host.getHost());return;}
DoubleAnimationUsingKeyFrames.prototype={set_keyFrames:function(value)
{TypeSafety({"DoubleKeyFrameCollection":value});this.element.keyFrames=value.element;},get_keyFrames:function()
{return Convert.ToDoubleKeyFrameCollection(this.element.keyFrames);},set_from:function(value)
{TypeSafety({"Double":value});this.element.from=value;},get_from:function()
{return(this.element.from);},set_to:function(value)
{TypeSafety({"Double":value});this.element.to=value;},get_to:function()
{return(this.element.to);},set_by:function(value)
{TypeSafety({"Double":value});this.element.by=value;},get_by:function()
{return(this.element.by);},set_autoReverse:function(value)
{TypeSafety({"Boolean":value});this.element.autoReverse=value;},get_autoReverse:function()
{return(this.element.autoReverse);},set_beginTime:function(value)
{TypeSafety({"TimeSpan":value});this.element.beginTime=value;},get_beginTime:function()
{return(this.element.beginTime);},set_duration:function(value)
{TypeSafety({"Duration":value});this.element.duration=value.element;},get_duration:function()
{return Convert.ToDuration(this.element.duration);},set_speedRatio:function(value)
{TypeSafety({"Double":value});this.element.speedRatio=value;},get_speedRatio:function()
{return(this.element.speedRatio);},set_fillBehavior:function(value)
{TypeSafety({"FillBehavior":value});this.element.fillBehavior=value.element;},get_fillBehavior:function()
{return Convert.ToFillBehavior(this.element.fillBehavior);},set_repeatBehavior:function(value)
{TypeSafety({"RepeatBehavior":value});this.element.repeatBehavior=value.element;},get_repeatBehavior:function()
{return Convert.ToRepeatBehavior(this.element.repeatBehavior);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
DoubleKeyFrame=function(DoubleKeyFrameXamlElement)
{this.element=DoubleKeyFrameXamlElement;}
DoubleKeyFrame.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new DoubleKeyFrame(Host.content.createFromXaml("<DoubleKeyFrame />"));}catch(ex){}
if(Host.getHost)
return DoubleKeyFrame.CreateNew(Host.getHost());return;}
DoubleKeyFrame.prototype={set_value:function(value)
{TypeSafety({"Double":value});this.element.value=value;},get_value:function()
{return(this.element.value);},set_keyTime:function(value)
{TypeSafety({"KeyTime":value});this.element.keyTime=value.element;},get_keyTime:function()
{return Convert.ToKeyTime(this.element.keyTime);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
DiscreteDoubleKeyFrame=function(DiscreteDoubleKeyFrameXamlElement)
{this.element=DiscreteDoubleKeyFrameXamlElement;}
DiscreteDoubleKeyFrame.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new DiscreteDoubleKeyFrame(Host.content.createFromXaml("<DiscreteDoubleKeyFrame />"));}catch(ex){}
if(Host.getHost)
return DiscreteDoubleKeyFrame.CreateNew(Host.getHost());return;}
DiscreteDoubleKeyFrame.prototype={set_value:function(value)
{TypeSafety({"Double":value});this.element.value=value;},get_value:function()
{return(this.element.value);},set_keyTime:function(value)
{TypeSafety({"KeyTime":value});this.element.keyTime=value.element;},get_keyTime:function()
{return Convert.ToKeyTime(this.element.keyTime);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
LinearDoubleKeyFrame=function(LinearDoubleKeyFrameXamlElement)
{this.element=LinearDoubleKeyFrameXamlElement;}
LinearDoubleKeyFrame.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new LinearDoubleKeyFrame(Host.content.createFromXaml("<LinearDoubleKeyFrame />"));}catch(ex){}
if(Host.getHost)
return LinearDoubleKeyFrame.CreateNew(Host.getHost());return;}
LinearDoubleKeyFrame.prototype={set_value:function(value)
{TypeSafety({"Double":value});this.element.value=value;},get_value:function()
{return(this.element.value);},set_keyTime:function(value)
{TypeSafety({"KeyTime":value});this.element.keyTime=value.element;},get_keyTime:function()
{return Convert.ToKeyTime(this.element.keyTime);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
SplineDoubleKeyFrame=function(SplineDoubleKeyFrameXamlElement)
{this.element=SplineDoubleKeyFrameXamlElement;}
SplineDoubleKeyFrame.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new SplineDoubleKeyFrame(Host.content.createFromXaml("<SplineDoubleKeyFrame />"));}catch(ex){}
if(Host.getHost)
return SplineDoubleKeyFrame.CreateNew(Host.getHost());return;}
SplineDoubleKeyFrame.prototype={set_keySpline:function(value)
{TypeSafety({"KeySpline":value});this.element.keySpline=value.element;},get_keySpline:function()
{return Convert.ToKeySpline(this.element.keySpline);},set_value:function(value)
{TypeSafety({"Double":value});this.element.value=value;},get_value:function()
{return(this.element.value);},set_keyTime:function(value)
{TypeSafety({"KeyTime":value});this.element.keyTime=value.element;},get_keyTime:function()
{return Convert.ToKeyTime(this.element.keyTime);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
ColorAnimationUsingKeyFrames=function(ColorAnimationUsingKeyFramesXamlElement)
{this.element=ColorAnimationUsingKeyFramesXamlElement;}
ColorAnimationUsingKeyFrames.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ColorAnimationUsingKeyFrames(Host.content.createFromXaml("<ColorAnimationUsingKeyFrames />"));}catch(ex){}
if(Host.getHost)
return ColorAnimationUsingKeyFrames.CreateNew(Host.getHost());return;}
ColorAnimationUsingKeyFrames.prototype={set_keyFrames:function(value)
{TypeSafety({"ColorKeyFrameCollection":value});this.element.keyFrames=value.element;},get_keyFrames:function()
{return Convert.ToColorKeyFrameCollection(this.element.keyFrames);},set_from:function(value)
{TypeSafety({"Color":value});this.element.from=value.element;},get_from:function()
{return Convert.ToColor(this.element.from);},set_to:function(value)
{TypeSafety({"Color":value});this.element.to=value.element;},get_to:function()
{return Convert.ToColor(this.element.to);},set_by:function(value)
{TypeSafety({"Color":value});this.element.by=value.element;},get_by:function()
{return Convert.ToColor(this.element.by);},set_autoReverse:function(value)
{TypeSafety({"Boolean":value});this.element.autoReverse=value;},get_autoReverse:function()
{return(this.element.autoReverse);},set_beginTime:function(value)
{TypeSafety({"TimeSpan":value});this.element.beginTime=value;},get_beginTime:function()
{return(this.element.beginTime);},set_duration:function(value)
{TypeSafety({"Duration":value});this.element.duration=value.element;},get_duration:function()
{return Convert.ToDuration(this.element.duration);},set_speedRatio:function(value)
{TypeSafety({"Double":value});this.element.speedRatio=value;},get_speedRatio:function()
{return(this.element.speedRatio);},set_fillBehavior:function(value)
{TypeSafety({"FillBehavior":value});this.element.fillBehavior=value.element;},get_fillBehavior:function()
{return Convert.ToFillBehavior(this.element.fillBehavior);},set_repeatBehavior:function(value)
{TypeSafety({"RepeatBehavior":value});this.element.repeatBehavior=value.element;},get_repeatBehavior:function()
{return Convert.ToRepeatBehavior(this.element.repeatBehavior);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
ColorKeyFrame=function(ColorKeyFrameXamlElement)
{this.element=ColorKeyFrameXamlElement;}
ColorKeyFrame.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ColorKeyFrame(Host.content.createFromXaml("<ColorKeyFrame />"));}catch(ex){}
if(Host.getHost)
return ColorKeyFrame.CreateNew(Host.getHost());return;}
ColorKeyFrame.prototype={set_value:function(value)
{TypeSafety({"Color":value});this.element.value=value.element;},get_value:function()
{return Convert.ToColor(this.element.value);},set_keyTime:function(value)
{TypeSafety({"KeyTime":value});this.element.keyTime=value.element;},get_keyTime:function()
{return Convert.ToKeyTime(this.element.keyTime);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
DiscreteColorKeyFrame=function(DiscreteColorKeyFrameXamlElement)
{this.element=DiscreteColorKeyFrameXamlElement;}
DiscreteColorKeyFrame.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new DiscreteColorKeyFrame(Host.content.createFromXaml("<DiscreteColorKeyFrame />"));}catch(ex){}
if(Host.getHost)
return DiscreteColorKeyFrame.CreateNew(Host.getHost());return;}
DiscreteColorKeyFrame.prototype={set_value:function(value)
{TypeSafety({"Color":value});this.element.value=value.element;},get_value:function()
{return Convert.ToColor(this.element.value);},set_keyTime:function(value)
{TypeSafety({"KeyTime":value});this.element.keyTime=value.element;},get_keyTime:function()
{return Convert.ToKeyTime(this.element.keyTime);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
LinearColorKeyFrame=function(LinearColorKeyFrameXamlElement)
{this.element=LinearColorKeyFrameXamlElement;}
LinearColorKeyFrame.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new LinearColorKeyFrame(Host.content.createFromXaml("<LinearColorKeyFrame />"));}catch(ex){}
if(Host.getHost)
return LinearColorKeyFrame.CreateNew(Host.getHost());return;}
LinearColorKeyFrame.prototype={set_value:function(value)
{TypeSafety({"Color":value});this.element.value=value.element;},get_value:function()
{return Convert.ToColor(this.element.value);},set_keyTime:function(value)
{TypeSafety({"KeyTime":value});this.element.keyTime=value.element;},get_keyTime:function()
{return Convert.ToKeyTime(this.element.keyTime);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
SplineColorKeyFrame=function(SplineColorKeyFrameXamlElement)
{this.element=SplineColorKeyFrameXamlElement;}
SplineColorKeyFrame.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new SplineColorKeyFrame(Host.content.createFromXaml("<SplineColorKeyFrame />"));}catch(ex){}
if(Host.getHost)
return SplineColorKeyFrame.CreateNew(Host.getHost());return;}
SplineColorKeyFrame.prototype={set_keySpline:function(value)
{TypeSafety({"KeySpline":value});this.element.keySpline=value.element;},get_keySpline:function()
{return Convert.ToKeySpline(this.element.keySpline);},set_value:function(value)
{TypeSafety({"Color":value});this.element.value=value.element;},get_value:function()
{return Convert.ToColor(this.element.value);},set_keyTime:function(value)
{TypeSafety({"KeyTime":value});this.element.keyTime=value.element;},get_keyTime:function()
{return Convert.ToKeyTime(this.element.keyTime);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
PointAnimationUsingKeyFrames=function(PointAnimationUsingKeyFramesXamlElement)
{this.element=PointAnimationUsingKeyFramesXamlElement;}
PointAnimationUsingKeyFrames.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new PointAnimationUsingKeyFrames(Host.content.createFromXaml("<PointAnimationUsingKeyFrames />"));}catch(ex){}
if(Host.getHost)
return PointAnimationUsingKeyFrames.CreateNew(Host.getHost());return;}
PointAnimationUsingKeyFrames.prototype={set_keyFrames:function(value)
{TypeSafety({"PointKeyFrameCollection":value});this.element.keyFrames=value.element;},get_keyFrames:function()
{return Convert.ToPointKeyFrameCollection(this.element.keyFrames);},set_from:function(value)
{TypeSafety({"Point":value});this.element.from=value.element;},get_from:function()
{return Convert.ToPoint(this.element.from);},set_to:function(value)
{TypeSafety({"Point":value});this.element.to=value.element;},get_to:function()
{return Convert.ToPoint(this.element.to);},set_by:function(value)
{TypeSafety({"Point":value});this.element.by=value.element;},get_by:function()
{return Convert.ToPoint(this.element.by);},set_autoReverse:function(value)
{TypeSafety({"Boolean":value});this.element.autoReverse=value;},get_autoReverse:function()
{return(this.element.autoReverse);},set_beginTime:function(value)
{TypeSafety({"TimeSpan":value});this.element.beginTime=value;},get_beginTime:function()
{return(this.element.beginTime);},set_duration:function(value)
{TypeSafety({"Duration":value});this.element.duration=value.element;},get_duration:function()
{return Convert.ToDuration(this.element.duration);},set_speedRatio:function(value)
{TypeSafety({"Double":value});this.element.speedRatio=value;},get_speedRatio:function()
{return(this.element.speedRatio);},set_fillBehavior:function(value)
{TypeSafety({"FillBehavior":value});this.element.fillBehavior=value.element;},get_fillBehavior:function()
{return Convert.ToFillBehavior(this.element.fillBehavior);},set_repeatBehavior:function(value)
{TypeSafety({"RepeatBehavior":value});this.element.repeatBehavior=value.element;},get_repeatBehavior:function()
{return Convert.ToRepeatBehavior(this.element.repeatBehavior);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
PointKeyFrame=function(PointKeyFrameXamlElement)
{this.element=PointKeyFrameXamlElement;}
PointKeyFrame.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new PointKeyFrame(Host.content.createFromXaml("<PointKeyFrame />"));}catch(ex){}
if(Host.getHost)
return PointKeyFrame.CreateNew(Host.getHost());return;}
PointKeyFrame.prototype={set_value:function(value)
{TypeSafety({"Point":value});this.element.value=value.element;},get_value:function()
{return Convert.ToPoint(this.element.value);},set_keyTime:function(value)
{TypeSafety({"KeyTime":value});this.element.keyTime=value.element;},get_keyTime:function()
{return Convert.ToKeyTime(this.element.keyTime);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
DiscretePointKeyFrame=function(DiscretePointKeyFrameXamlElement)
{this.element=DiscretePointKeyFrameXamlElement;}
DiscretePointKeyFrame.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new DiscretePointKeyFrame(Host.content.createFromXaml("<DiscretePointKeyFrame />"));}catch(ex){}
if(Host.getHost)
return DiscretePointKeyFrame.CreateNew(Host.getHost());return;}
DiscretePointKeyFrame.prototype={set_value:function(value)
{TypeSafety({"Point":value});this.element.value=value.element;},get_value:function()
{return Convert.ToPoint(this.element.value);},set_keyTime:function(value)
{TypeSafety({"KeyTime":value});this.element.keyTime=value.element;},get_keyTime:function()
{return Convert.ToKeyTime(this.element.keyTime);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
LinearPointKeyFrame=function(LinearPointKeyFrameXamlElement)
{this.element=LinearPointKeyFrameXamlElement;}
LinearPointKeyFrame.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new LinearPointKeyFrame(Host.content.createFromXaml("<LinearPointKeyFrame />"));}catch(ex){}
if(Host.getHost)
return LinearPointKeyFrame.CreateNew(Host.getHost());return;}
LinearPointKeyFrame.prototype={set_value:function(value)
{TypeSafety({"Point":value});this.element.value=value.element;},get_value:function()
{return Convert.ToPoint(this.element.value);},set_keyTime:function(value)
{TypeSafety({"KeyTime":value});this.element.keyTime=value.element;},get_keyTime:function()
{return Convert.ToKeyTime(this.element.keyTime);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
SplinePointKeyFrame=function(SplinePointKeyFrameXamlElement)
{this.element=SplinePointKeyFrameXamlElement;}
SplinePointKeyFrame.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new SplinePointKeyFrame(Host.content.createFromXaml("<SplinePointKeyFrame />"));}catch(ex){}
if(Host.getHost)
return SplinePointKeyFrame.CreateNew(Host.getHost());return;}
SplinePointKeyFrame.prototype={set_keySpline:function(value)
{TypeSafety({"KeySpline":value});this.element.keySpline=value.element;},get_keySpline:function()
{return Convert.ToKeySpline(this.element.keySpline);},set_value:function(value)
{TypeSafety({"Point":value});this.element.value=value.element;},get_value:function()
{return Convert.ToPoint(this.element.value);},set_keyTime:function(value)
{TypeSafety({"KeyTime":value});this.element.keyTime=value.element;},get_keyTime:function()
{return Convert.ToKeyTime(this.element.keyTime);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
TimelineMarker=function(TimelineMarkerXamlElement)
{this.element=TimelineMarkerXamlElement;}
TimelineMarker.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TimelineMarker(Host.content.createFromXaml("<TimelineMarker />"));}catch(ex){}
if(Host.getHost)
return TimelineMarker.CreateNew(Host.getHost());return;}
TimelineMarker.prototype={set_time:function(value)
{TypeSafety({"String":value});this.element.time=value;},get_time:function()
{return(this.element.time);},set_type:function(value)
{TypeSafety({"String":value});this.element.type=value;},get_type:function()
{return(this.element.type);},set_text:function(value)
{TypeSafety({"String":value});this.element.text=value;},get_text:function()
{return(this.element.text);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
TimelineMarkerCollection=function(TimelineMarkerCollectionXamlElement)
{this.element=TimelineMarkerCollectionXamlElement;}
TimelineMarkerCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TimelineMarkerCollection(Host.content.createFromXaml("<TimelineMarkerCollection />"));}catch(ex){}
if(Host.getHost)
return TimelineMarkerCollection.CreateNew(Host.getHost());return;}
TimelineMarkerCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToTimelineMarker(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},add:function(value)
{TypeSafety({"TimelineMarker":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"TimelineMarker":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"TimelineMarker":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"TimelineMarker":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"TimelineMarker":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"TimelineMarker[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
MouseEventHandler=function(MouseEventHandlerXamlElement)
{this.element=MouseEventHandlerXamlElement;}
MouseEventHandler.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new MouseEventHandler(Host.content.createFromXaml("<MouseEventHandler />"));}catch(ex){}
if(Host.getHost)
return MouseEventHandler.CreateNew(Host.getHost());return;}
MouseEventHandler.prototype={get_method:function()
{return(this.element.method);},get_target:function()
{return(this.element.target);},invoke:function(sender,e)
{TypeSafety({"Object":sender,"MouseEventArgs":e});return(this.element.invoke(sender,e.element));},beginInvoke:function(sender,e,callback,object)
{TypeSafety({"Object":sender,"MouseEventArgs":e,"AsyncCallback":callback,"Object":object});return(this.element.beginInvoke(sender,e.element,callback,object));},endInvoke:function(result)
{TypeSafety({"IAsyncResult":result});return(this.element.endInvoke(result));},getObjectData:function(info,context)
{TypeSafety({"SerializationInfo":info,"StreamingContext":context});return(this.element.getObjectData(info,context));},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getInvocationList:function()
{TypeSafety({});return(this.element.getInvocationList());},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},dynamicInvoke:function(args)
{TypeSafety({"Object[]":args});return(this.element.dynamicInvoke(args));},clone:function()
{TypeSafety({});return(this.element.clone());},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());}}
KeyboardEventHandler=function(KeyboardEventHandlerXamlElement)
{this.element=KeyboardEventHandlerXamlElement;}
KeyboardEventHandler.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new KeyboardEventHandler(Host.content.createFromXaml("<KeyboardEventHandler />"));}catch(ex){}
if(Host.getHost)
return KeyboardEventHandler.CreateNew(Host.getHost());return;}
KeyboardEventHandler.prototype={get_method:function()
{return(this.element.method);},get_target:function()
{return(this.element.target);},invoke:function(sender,e)
{TypeSafety({"Object":sender,"KeyboardEventArgs":e});return(this.element.invoke(sender,e.element));},beginInvoke:function(sender,e,callback,object)
{TypeSafety({"Object":sender,"KeyboardEventArgs":e,"AsyncCallback":callback,"Object":object});return(this.element.beginInvoke(sender,e.element,callback,object));},endInvoke:function(result)
{TypeSafety({"IAsyncResult":result});return(this.element.endInvoke(result));},getObjectData:function(info,context)
{TypeSafety({"SerializationInfo":info,"StreamingContext":context});return(this.element.getObjectData(info,context));},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getInvocationList:function()
{TypeSafety({});return(this.element.getInvocationList());},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},dynamicInvoke:function(args)
{TypeSafety({"Object[]":args});return(this.element.dynamicInvoke(args));},clone:function()
{TypeSafety({});return(this.element.clone());},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());}}
TimelineMarkerEventHandler=function(TimelineMarkerEventHandlerXamlElement)
{this.element=TimelineMarkerEventHandlerXamlElement;}
TimelineMarkerEventHandler.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TimelineMarkerEventHandler(Host.content.createFromXaml("<TimelineMarkerEventHandler />"));}catch(ex){}
if(Host.getHost)
return TimelineMarkerEventHandler.CreateNew(Host.getHost());return;}
TimelineMarkerEventHandler.prototype={get_method:function()
{return(this.element.method);},get_target:function()
{return(this.element.target);},invoke:function(sender,e)
{TypeSafety({"Object":sender,"TimelineMarkerEventArgs":e});return(this.element.invoke(sender,e.element));},beginInvoke:function(sender,e,callback,object)
{TypeSafety({"Object":sender,"TimelineMarkerEventArgs":e,"AsyncCallback":callback,"Object":object});return(this.element.beginInvoke(sender,e.element,callback,object));},endInvoke:function(result)
{TypeSafety({"IAsyncResult":result});return(this.element.endInvoke(result));},getObjectData:function(info,context)
{TypeSafety({"SerializationInfo":info,"StreamingContext":context});return(this.element.getObjectData(info,context));},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getInvocationList:function()
{TypeSafety({});return(this.element.getInvocationList());},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},dynamicInvoke:function(args)
{TypeSafety({"Object[]":args});return(this.element.dynamicInvoke(args));},clone:function()
{TypeSafety({});return(this.element.clone());},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());}}
Cursors=function(CursorsXamlElement)
{this.element=CursorsXamlElement;}
Cursors.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Cursors(Host.content.createFromXaml("<Cursors />"));}catch(ex){}
if(Host.getHost)
return Cursors.CreateNew(Host.getHost());return;}
Cursors.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
TabletDeviceType=function(TabletDeviceTypeXamlElement)
{this.element=TabletDeviceTypeXamlElement;}
TabletDeviceType.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TabletDeviceType(Host.content.createFromXaml("<TabletDeviceType />"));}catch(ex){}
if(Host.getHost)
return TabletDeviceType.CreateNew(Host.getHost());return;}
TabletDeviceType.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
StylusPoint=function(StylusPointXamlElement)
{this.element=StylusPointXamlElement;}
StylusPoint.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new StylusPoint(Host.content.createFromXaml("<StylusPoint />"));}catch(ex){}
if(Host.getHost)
return StylusPoint.CreateNew(Host.getHost());return;}
StylusPoint.prototype={set_x:function(value)
{TypeSafety({"Double":value});this.element.x=value;},get_x:function()
{return(this.element.x);},set_y:function(value)
{TypeSafety({"Double":value});this.element.y=value;},get_y:function()
{return(this.element.y);},set_pressureFactor:function(value)
{TypeSafety({"Double":value});this.element.pressureFactor=value;},get_pressureFactor:function()
{return(this.element.pressureFactor);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
StylusPointCollection=function(StylusPointCollectionXamlElement)
{this.element=StylusPointCollectionXamlElement;}
StylusPointCollection.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new StylusPointCollection(Host.content.createFromXaml("<StylusPointCollection />"));}catch(ex){}
if(Host.getHost)
return StylusPointCollection.CreateNew(Host.getHost());return;}
StylusPointCollection.prototype={get_isFixedSize:function()
{return(this.element.isFixedSize);},get_isReadOnly:function()
{return(this.element.isReadOnly);},getItem:function(Index)
{return Convert.ToStylusPoint(this.element.getItem(Index));},get_count:function()
{return(this.element.count);},get_isSynchronized:function()
{return(this.element.isSynchronized);},get_syncRoot:function()
{return(this.element.syncRoot);},get_name:function()
{return(this.element.name);},addStylusPoints:function(stylusPointCollection)
{TypeSafety({"StylusPointCollection":stylusPointCollection});return(this.element.addStylusPoints(stylusPointCollection.element));},add:function(value)
{TypeSafety({"StylusPoint":value});return(this.element.add(value.element));},clear:function()
{TypeSafety({});return(this.element.clear());},contains:function(value)
{TypeSafety({"StylusPoint":value});return(this.element.contains(value.element));},indexOf:function(value)
{TypeSafety({"StylusPoint":value});return(this.element.indexOf(value.element));},insert:function(index,value)
{TypeSafety({"Number":index,"StylusPoint":value});return(this.element.insert(index,value.element));},remove:function(value)
{TypeSafety({"StylusPoint":value});return(this.element.remove(value.element));},removeAt:function(index)
{TypeSafety({"Number":index});return(this.element.removeAt(index));},copyTo:function(array,index)
{TypeSafety({"StylusPoint[]":array,"Number":index});return(this.element.copyTo(array,index));},getEnumerator:function()
{TypeSafety({});return(this.element.getEnumerator());},printContents:function()
{TypeSafety({});return(this.element.printContents());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
MouseEventArgs=function(MouseEventArgsXamlElement)
{this.element=MouseEventArgsXamlElement;}
MouseEventArgs.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new MouseEventArgs(Host.content.createFromXaml("<MouseEventArgs />"));}catch(ex){}
if(Host.getHost)
return MouseEventArgs.CreateNew(Host.getHost());return;}
MouseEventArgs.prototype={set_shift:function(value)
{TypeSafety({"Boolean":value});this.element.shift=value;},get_shift:function()
{return(this.element.shift);},set_ctrl:function(value)
{TypeSafety({"Boolean":value});this.element.ctrl=value;},get_ctrl:function()
{return(this.element.ctrl);},getPosition:function(uiElement)
{TypeSafety({"UIElement":uiElement});return Convert.ToPoint(this.element.getPosition(uiElement.element));},getStylusInfo:function()
{TypeSafety({});return Convert.ToStylusInfo(this.element.getStylusInfo());},getStylusPoints:function(uiElement)
{TypeSafety({"UIElement":uiElement});return Convert.ToStylusPointCollection(this.element.getStylusPoints(uiElement.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
KeyboardEventArgs=function(KeyboardEventArgsXamlElement)
{this.element=KeyboardEventArgsXamlElement;}
KeyboardEventArgs.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new KeyboardEventArgs(Host.content.createFromXaml("<KeyboardEventArgs />"));}catch(ex){}
if(Host.getHost)
return KeyboardEventArgs.CreateNew(Host.getHost());return;}
KeyboardEventArgs.prototype={set_key:function(value)
{TypeSafety({"Number":value});this.element.key=value;},get_key:function()
{return(this.element.key);},set_platformKeyCode:function(value)
{TypeSafety({"Number":value});this.element.platformKeyCode=value;},get_platformKeyCode:function()
{return(this.element.platformKeyCode);},set_shift:function(value)
{TypeSafety({"Boolean":value});this.element.shift=value;},get_shift:function()
{return(this.element.shift);},set_ctrl:function(value)
{TypeSafety({"Boolean":value});this.element.ctrl=value;},get_ctrl:function()
{return(this.element.ctrl);},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
TimelineMarkerEventArgs=function(TimelineMarkerEventArgsXamlElement)
{this.element=TimelineMarkerEventArgsXamlElement;}
TimelineMarkerEventArgs.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TimelineMarkerEventArgs(Host.content.createFromXaml("<TimelineMarkerEventArgs />"));}catch(ex){}
if(Host.getHost)
return TimelineMarkerEventArgs.CreateNew(Host.getHost());return;}
TimelineMarkerEventArgs.prototype={set_marker:function(value)
{TypeSafety({"TimelineMarker":value});this.element.marker=value.element;},get_marker:function()
{return Convert.ToTimelineMarker(this.element.marker);},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
StylusInfo=function(StylusInfoXamlElement)
{this.element=StylusInfoXamlElement;}
StylusInfo.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new StylusInfo(Host.content.createFromXaml("<StylusInfo />"));}catch(ex){}
if(Host.getHost)
return StylusInfo.CreateNew(Host.getHost());return;}
StylusInfo.prototype={set_deviceType:function(value)
{TypeSafety({"TabletDeviceType":value});this.element.deviceType=value.element;},get_deviceType:function()
{return Convert.ToTabletDeviceType(this.element.deviceType);},set_isInverted:function(value)
{TypeSafety({"Boolean":value});this.element.isInverted=value;},get_isInverted:function()
{return(this.element.isInverted);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
Shape=function(ShapeXamlElement)
{this.element=ShapeXamlElement;}
Shape.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Shape(Host.content.createFromXaml("<Shape />"));}catch(ex){}
if(Host.getHost)
return Shape.CreateNew(Host.getHost());return;}
Shape.prototype={set_fill:function(value)
{TypeSafety({"Brush":value});this.element.fill=value.element;},get_fill:function()
{return Convert.ToBrush(this.element.fill);},set_stroke:function(value)
{TypeSafety({"Brush":value});this.element.stroke=value.element;},get_stroke:function()
{return Convert.ToBrush(this.element.stroke);},set_strokeMiterLimit:function(value)
{TypeSafety({"Double":value});this.element.strokeMiterLimit=value;},get_strokeMiterLimit:function()
{return(this.element.strokeMiterLimit);},set_strokeThickness:function(value)
{TypeSafety({"Double":value});this.element.strokeThickness=value;},get_strokeThickness:function()
{return(this.element.strokeThickness);},set_strokeStartLineCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeStartLineCap=value.element;},get_strokeStartLineCap:function()
{return Convert.ToPenLineCap(this.element.strokeStartLineCap);},set_strokeEndLineCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeEndLineCap=value.element;},get_strokeEndLineCap:function()
{return Convert.ToPenLineCap(this.element.strokeEndLineCap);},set_strokeLineJoin:function(value)
{TypeSafety({"PenLineJoin":value});this.element.strokeLineJoin=value.element;},get_strokeLineJoin:function()
{return Convert.ToPenLineJoin(this.element.strokeLineJoin);},set_strokeDashOffset:function(value)
{TypeSafety({"Double":value});this.element.strokeDashOffset=value;},get_strokeDashOffset:function()
{return(this.element.strokeDashOffset);},set_strokeDashCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeDashCap=value.element;},get_strokeDashCap:function()
{return Convert.ToPenLineCap(this.element.strokeDashCap);},set_strokeDashArray:function(value)
{TypeSafety({"Double[]":value});this.element.strokeDashArray=value;},set_stretch:function(value)
{TypeSafety({"Stretch":value});this.element.stretch=value.element;},get_stretch:function()
{return Convert.ToStretch(this.element.stretch);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
Path=function(PathXamlElement)
{this.element=PathXamlElement;}
Path.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Path(Host.content.createFromXaml("<Path />"));}catch(ex){}
if(Host.getHost)
return Path.CreateNew(Host.getHost());return;}
Path.prototype={set_data:function(value)
{TypeSafety({"Geometry":value});this.element.data=value.element;},get_data:function()
{return Convert.ToGeometry(this.element.data);},set_fill:function(value)
{TypeSafety({"Brush":value});this.element.fill=value.element;},get_fill:function()
{return Convert.ToBrush(this.element.fill);},set_stroke:function(value)
{TypeSafety({"Brush":value});this.element.stroke=value.element;},get_stroke:function()
{return Convert.ToBrush(this.element.stroke);},set_strokeMiterLimit:function(value)
{TypeSafety({"Double":value});this.element.strokeMiterLimit=value;},get_strokeMiterLimit:function()
{return(this.element.strokeMiterLimit);},set_strokeThickness:function(value)
{TypeSafety({"Double":value});this.element.strokeThickness=value;},get_strokeThickness:function()
{return(this.element.strokeThickness);},set_strokeStartLineCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeStartLineCap=value.element;},get_strokeStartLineCap:function()
{return Convert.ToPenLineCap(this.element.strokeStartLineCap);},set_strokeEndLineCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeEndLineCap=value.element;},get_strokeEndLineCap:function()
{return Convert.ToPenLineCap(this.element.strokeEndLineCap);},set_strokeLineJoin:function(value)
{TypeSafety({"PenLineJoin":value});this.element.strokeLineJoin=value.element;},get_strokeLineJoin:function()
{return Convert.ToPenLineJoin(this.element.strokeLineJoin);},set_strokeDashOffset:function(value)
{TypeSafety({"Double":value});this.element.strokeDashOffset=value;},get_strokeDashOffset:function()
{return(this.element.strokeDashOffset);},set_strokeDashCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeDashCap=value.element;},get_strokeDashCap:function()
{return Convert.ToPenLineCap(this.element.strokeDashCap);},set_strokeDashArray:function(value)
{TypeSafety({"Double[]":value});this.element.strokeDashArray=value;},set_stretch:function(value)
{TypeSafety({"Stretch":value});this.element.stretch=value.element;},get_stretch:function()
{return Convert.ToStretch(this.element.stretch);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
Ellipse=function(EllipseXamlElement)
{this.element=EllipseXamlElement;}
Ellipse.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Ellipse(Host.content.createFromXaml("<Ellipse />"));}catch(ex){}
if(Host.getHost)
return Ellipse.CreateNew(Host.getHost());return;}
Ellipse.prototype={set_fill:function(value)
{TypeSafety({"Brush":value});this.element.fill=value.element;},get_fill:function()
{return Convert.ToBrush(this.element.fill);},set_stroke:function(value)
{TypeSafety({"Brush":value});this.element.stroke=value.element;},get_stroke:function()
{return Convert.ToBrush(this.element.stroke);},set_strokeMiterLimit:function(value)
{TypeSafety({"Double":value});this.element.strokeMiterLimit=value;},get_strokeMiterLimit:function()
{return(this.element.strokeMiterLimit);},set_strokeThickness:function(value)
{TypeSafety({"Double":value});this.element.strokeThickness=value;},get_strokeThickness:function()
{return(this.element.strokeThickness);},set_strokeStartLineCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeStartLineCap=value.element;},get_strokeStartLineCap:function()
{return Convert.ToPenLineCap(this.element.strokeStartLineCap);},set_strokeEndLineCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeEndLineCap=value.element;},get_strokeEndLineCap:function()
{return Convert.ToPenLineCap(this.element.strokeEndLineCap);},set_strokeLineJoin:function(value)
{TypeSafety({"PenLineJoin":value});this.element.strokeLineJoin=value.element;},get_strokeLineJoin:function()
{return Convert.ToPenLineJoin(this.element.strokeLineJoin);},set_strokeDashOffset:function(value)
{TypeSafety({"Double":value});this.element.strokeDashOffset=value;},get_strokeDashOffset:function()
{return(this.element.strokeDashOffset);},set_strokeDashCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeDashCap=value.element;},get_strokeDashCap:function()
{return Convert.ToPenLineCap(this.element.strokeDashCap);},set_strokeDashArray:function(value)
{TypeSafety({"Double[]":value});this.element.strokeDashArray=value;},set_stretch:function(value)
{TypeSafety({"Stretch":value});this.element.stretch=value.element;},get_stretch:function()
{return Convert.ToStretch(this.element.stretch);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
Line=function(LineXamlElement)
{this.element=LineXamlElement;}
Line.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Line(Host.content.createFromXaml("<Line />"));}catch(ex){}
if(Host.getHost)
return Line.CreateNew(Host.getHost());return;}
Line.prototype={set_x1:function(value)
{TypeSafety({"Double":value});this.element.x1=value;},get_x1:function()
{return(this.element.x1);},set_y1:function(value)
{TypeSafety({"Double":value});this.element.y1=value;},get_y1:function()
{return(this.element.y1);},set_x2:function(value)
{TypeSafety({"Double":value});this.element.x2=value;},get_x2:function()
{return(this.element.x2);},set_y2:function(value)
{TypeSafety({"Double":value});this.element.y2=value;},get_y2:function()
{return(this.element.y2);},set_fill:function(value)
{TypeSafety({"Brush":value});this.element.fill=value.element;},get_fill:function()
{return Convert.ToBrush(this.element.fill);},set_stroke:function(value)
{TypeSafety({"Brush":value});this.element.stroke=value.element;},get_stroke:function()
{return Convert.ToBrush(this.element.stroke);},set_strokeMiterLimit:function(value)
{TypeSafety({"Double":value});this.element.strokeMiterLimit=value;},get_strokeMiterLimit:function()
{return(this.element.strokeMiterLimit);},set_strokeThickness:function(value)
{TypeSafety({"Double":value});this.element.strokeThickness=value;},get_strokeThickness:function()
{return(this.element.strokeThickness);},set_strokeStartLineCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeStartLineCap=value.element;},get_strokeStartLineCap:function()
{return Convert.ToPenLineCap(this.element.strokeStartLineCap);},set_strokeEndLineCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeEndLineCap=value.element;},get_strokeEndLineCap:function()
{return Convert.ToPenLineCap(this.element.strokeEndLineCap);},set_strokeLineJoin:function(value)
{TypeSafety({"PenLineJoin":value});this.element.strokeLineJoin=value.element;},get_strokeLineJoin:function()
{return Convert.ToPenLineJoin(this.element.strokeLineJoin);},set_strokeDashOffset:function(value)
{TypeSafety({"Double":value});this.element.strokeDashOffset=value;},get_strokeDashOffset:function()
{return(this.element.strokeDashOffset);},set_strokeDashCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeDashCap=value.element;},get_strokeDashCap:function()
{return Convert.ToPenLineCap(this.element.strokeDashCap);},set_strokeDashArray:function(value)
{TypeSafety({"Double[]":value});this.element.strokeDashArray=value;},set_stretch:function(value)
{TypeSafety({"Stretch":value});this.element.stretch=value.element;},get_stretch:function()
{return Convert.ToStretch(this.element.stretch);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
Polygon=function(PolygonXamlElement)
{this.element=PolygonXamlElement;}
Polygon.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Polygon(Host.content.createFromXaml("<Polygon />"));}catch(ex){}
if(Host.getHost)
return Polygon.CreateNew(Host.getHost());return;}
Polygon.prototype={set_fillRule:function(value)
{TypeSafety({"FillRule":value});this.element.fillRule=value.element;},get_fillRule:function()
{return Convert.ToFillRule(this.element.fillRule);},set_points:function(value)
{TypeSafety({"Point[]":value});this.element.points=value;},set_fill:function(value)
{TypeSafety({"Brush":value});this.element.fill=value.element;},get_fill:function()
{return Convert.ToBrush(this.element.fill);},set_stroke:function(value)
{TypeSafety({"Brush":value});this.element.stroke=value.element;},get_stroke:function()
{return Convert.ToBrush(this.element.stroke);},set_strokeMiterLimit:function(value)
{TypeSafety({"Double":value});this.element.strokeMiterLimit=value;},get_strokeMiterLimit:function()
{return(this.element.strokeMiterLimit);},set_strokeThickness:function(value)
{TypeSafety({"Double":value});this.element.strokeThickness=value;},get_strokeThickness:function()
{return(this.element.strokeThickness);},set_strokeStartLineCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeStartLineCap=value.element;},get_strokeStartLineCap:function()
{return Convert.ToPenLineCap(this.element.strokeStartLineCap);},set_strokeEndLineCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeEndLineCap=value.element;},get_strokeEndLineCap:function()
{return Convert.ToPenLineCap(this.element.strokeEndLineCap);},set_strokeLineJoin:function(value)
{TypeSafety({"PenLineJoin":value});this.element.strokeLineJoin=value.element;},get_strokeLineJoin:function()
{return Convert.ToPenLineJoin(this.element.strokeLineJoin);},set_strokeDashOffset:function(value)
{TypeSafety({"Double":value});this.element.strokeDashOffset=value;},get_strokeDashOffset:function()
{return(this.element.strokeDashOffset);},set_strokeDashCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeDashCap=value.element;},get_strokeDashCap:function()
{return Convert.ToPenLineCap(this.element.strokeDashCap);},set_strokeDashArray:function(value)
{TypeSafety({"Double[]":value});this.element.strokeDashArray=value;},set_stretch:function(value)
{TypeSafety({"Stretch":value});this.element.stretch=value.element;},get_stretch:function()
{return Convert.ToStretch(this.element.stretch);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
Polyline=function(PolylineXamlElement)
{this.element=PolylineXamlElement;}
Polyline.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Polyline(Host.content.createFromXaml("<Polyline />"));}catch(ex){}
if(Host.getHost)
return Polyline.CreateNew(Host.getHost());return;}
Polyline.prototype={set_fillRule:function(value)
{TypeSafety({"FillRule":value});this.element.fillRule=value.element;},get_fillRule:function()
{return Convert.ToFillRule(this.element.fillRule);},set_points:function(value)
{TypeSafety({"Point[]":value});this.element.points=value;},set_fill:function(value)
{TypeSafety({"Brush":value});this.element.fill=value.element;},get_fill:function()
{return Convert.ToBrush(this.element.fill);},set_stroke:function(value)
{TypeSafety({"Brush":value});this.element.stroke=value.element;},get_stroke:function()
{return Convert.ToBrush(this.element.stroke);},set_strokeMiterLimit:function(value)
{TypeSafety({"Double":value});this.element.strokeMiterLimit=value;},get_strokeMiterLimit:function()
{return(this.element.strokeMiterLimit);},set_strokeThickness:function(value)
{TypeSafety({"Double":value});this.element.strokeThickness=value;},get_strokeThickness:function()
{return(this.element.strokeThickness);},set_strokeStartLineCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeStartLineCap=value.element;},get_strokeStartLineCap:function()
{return Convert.ToPenLineCap(this.element.strokeStartLineCap);},set_strokeEndLineCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeEndLineCap=value.element;},get_strokeEndLineCap:function()
{return Convert.ToPenLineCap(this.element.strokeEndLineCap);},set_strokeLineJoin:function(value)
{TypeSafety({"PenLineJoin":value});this.element.strokeLineJoin=value.element;},get_strokeLineJoin:function()
{return Convert.ToPenLineJoin(this.element.strokeLineJoin);},set_strokeDashOffset:function(value)
{TypeSafety({"Double":value});this.element.strokeDashOffset=value;},get_strokeDashOffset:function()
{return(this.element.strokeDashOffset);},set_strokeDashCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeDashCap=value.element;},get_strokeDashCap:function()
{return Convert.ToPenLineCap(this.element.strokeDashCap);},set_strokeDashArray:function(value)
{TypeSafety({"Double[]":value});this.element.strokeDashArray=value;},set_stretch:function(value)
{TypeSafety({"Stretch":value});this.element.stretch=value.element;},get_stretch:function()
{return Convert.ToStretch(this.element.stretch);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
Rectangle=function(RectangleXamlElement)
{this.element=RectangleXamlElement;}
Rectangle.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Rectangle(Host.content.createFromXaml("<Rectangle />"));}catch(ex){}
if(Host.getHost)
return Rectangle.CreateNew(Host.getHost());return;}
Rectangle.prototype={set_radiusX:function(value)
{TypeSafety({"Double":value});this.element.radiusX=value;},get_radiusX:function()
{return(this.element.radiusX);},set_radiusY:function(value)
{TypeSafety({"Double":value});this.element.radiusY=value;},get_radiusY:function()
{return(this.element.radiusY);},set_fill:function(value)
{TypeSafety({"Brush":value});this.element.fill=value.element;},get_fill:function()
{return Convert.ToBrush(this.element.fill);},set_stroke:function(value)
{TypeSafety({"Brush":value});this.element.stroke=value.element;},get_stroke:function()
{return Convert.ToBrush(this.element.stroke);},set_strokeMiterLimit:function(value)
{TypeSafety({"Double":value});this.element.strokeMiterLimit=value;},get_strokeMiterLimit:function()
{return(this.element.strokeMiterLimit);},set_strokeThickness:function(value)
{TypeSafety({"Double":value});this.element.strokeThickness=value;},get_strokeThickness:function()
{return(this.element.strokeThickness);},set_strokeStartLineCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeStartLineCap=value.element;},get_strokeStartLineCap:function()
{return Convert.ToPenLineCap(this.element.strokeStartLineCap);},set_strokeEndLineCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeEndLineCap=value.element;},get_strokeEndLineCap:function()
{return Convert.ToPenLineCap(this.element.strokeEndLineCap);},set_strokeLineJoin:function(value)
{TypeSafety({"PenLineJoin":value});this.element.strokeLineJoin=value.element;},get_strokeLineJoin:function()
{return Convert.ToPenLineJoin(this.element.strokeLineJoin);},set_strokeDashOffset:function(value)
{TypeSafety({"Double":value});this.element.strokeDashOffset=value;},get_strokeDashOffset:function()
{return(this.element.strokeDashOffset);},set_strokeDashCap:function(value)
{TypeSafety({"PenLineCap":value});this.element.strokeDashCap=value.element;},get_strokeDashCap:function()
{return Convert.ToPenLineCap(this.element.strokeDashCap);},set_strokeDashArray:function(value)
{TypeSafety({"Double[]":value});this.element.strokeDashArray=value;},set_stretch:function(value)
{TypeSafety({"Stretch":value});this.element.stretch=value.element;},get_stretch:function()
{return Convert.ToStretch(this.element.stretch);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
Inline=function(InlineXamlElement)
{this.element=InlineXamlElement;}
Inline.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Inline(Host.content.createFromXaml("<Inline />"));}catch(ex){}
if(Host.getHost)
return Inline.CreateNew(Host.getHost());return;}
Inline.prototype={set_fontSize:function(value)
{TypeSafety({"Double":value});this.element.fontSize=value;},get_fontSize:function()
{return(this.element.fontSize);},set_fontFamily:function(value)
{TypeSafety({"String":value});this.element.fontFamily=value;},get_fontFamily:function()
{return(this.element.fontFamily);},set_fontWeight:function(value)
{TypeSafety({"FontWeights":value});this.element.fontWeight=value.element;},get_fontWeight:function()
{return Convert.ToFontWeights(this.element.fontWeight);},set_fontStyle:function(value)
{TypeSafety({"FontStyles":value});this.element.fontStyle=value.element;},get_fontStyle:function()
{return Convert.ToFontStyles(this.element.fontStyle);},set_fontStretch:function(value)
{TypeSafety({"FontStretches":value});this.element.fontStretch=value.element;},get_fontStretch:function()
{return Convert.ToFontStretches(this.element.fontStretch);},set_textDecorations:function(value)
{TypeSafety({"TextDecorations":value});this.element.textDecorations=value.element;},get_textDecorations:function()
{return Convert.ToTextDecorations(this.element.textDecorations);},set_foreground:function(value)
{TypeSafety({"Brush":value});this.element.foreground=value.element;},get_foreground:function()
{return Convert.ToBrush(this.element.foreground);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
Glyphs=function(GlyphsXamlElement)
{this.element=GlyphsXamlElement;}
Glyphs.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Glyphs(Host.content.createFromXaml("<Glyphs />"));}catch(ex){}
if(Host.getHost)
return Glyphs.CreateNew(Host.getHost());return;}
Glyphs.prototype={set_unicodeString:function(value)
{TypeSafety({"String":value});this.element.unicodeString=value;},get_unicodeString:function()
{return(this.element.unicodeString);},set_indices:function(value)
{TypeSafety({"String":value});this.element.indices=value;},get_indices:function()
{return(this.element.indices);},set_fontUri:function(value)
{TypeSafety({"String":value});this.element.fontUri=value;},get_fontUri:function()
{return(this.element.fontUri);},set_styleSimulations:function(value)
{TypeSafety({"StyleSimulations":value});this.element.styleSimulations=value.element;},get_styleSimulations:function()
{return Convert.ToStyleSimulations(this.element.styleSimulations);},set_fontRenderingEmSize:function(value)
{TypeSafety({"Double":value});this.element.fontRenderingEmSize=value;},get_fontRenderingEmSize:function()
{return(this.element.fontRenderingEmSize);},set_originX:function(value)
{TypeSafety({"Double":value});this.element.originX=value;},get_originX:function()
{return(this.element.originX);},set_originY:function(value)
{TypeSafety({"Double":value});this.element.originY=value;},get_originY:function()
{return(this.element.originY);},set_fill:function(value)
{TypeSafety({"Brush":value});this.element.fill=value.element;},get_fill:function()
{return Convert.ToBrush(this.element.fill);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
Run=function(RunXamlElement)
{this.element=RunXamlElement;}
Run.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Run(Host.content.createFromXaml("<Run />"));}catch(ex){}
if(Host.getHost)
return Run.CreateNew(Host.getHost());return;}
Run.prototype={set_text:function(value)
{TypeSafety({"String":value});this.element.text=value;},get_text:function()
{return(this.element.text);},set_fontSize:function(value)
{TypeSafety({"Double":value});this.element.fontSize=value;},get_fontSize:function()
{return(this.element.fontSize);},set_fontFamily:function(value)
{TypeSafety({"String":value});this.element.fontFamily=value;},get_fontFamily:function()
{return(this.element.fontFamily);},set_fontWeight:function(value)
{TypeSafety({"FontWeights":value});this.element.fontWeight=value.element;},get_fontWeight:function()
{return Convert.ToFontWeights(this.element.fontWeight);},set_fontStyle:function(value)
{TypeSafety({"FontStyles":value});this.element.fontStyle=value.element;},get_fontStyle:function()
{return Convert.ToFontStyles(this.element.fontStyle);},set_fontStretch:function(value)
{TypeSafety({"FontStretches":value});this.element.fontStretch=value.element;},get_fontStretch:function()
{return Convert.ToFontStretches(this.element.fontStretch);},set_textDecorations:function(value)
{TypeSafety({"TextDecorations":value});this.element.textDecorations=value.element;},get_textDecorations:function()
{return Convert.ToTextDecorations(this.element.textDecorations);},set_foreground:function(value)
{TypeSafety({"Brush":value});this.element.foreground=value.element;},get_foreground:function()
{return Convert.ToBrush(this.element.foreground);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
LineBreak=function(LineBreakXamlElement)
{this.element=LineBreakXamlElement;}
LineBreak.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new LineBreak(Host.content.createFromXaml("<LineBreak />"));}catch(ex){}
if(Host.getHost)
return LineBreak.CreateNew(Host.getHost());return;}
LineBreak.prototype={set_fontSize:function(value)
{TypeSafety({"Double":value});this.element.fontSize=value;},get_fontSize:function()
{return(this.element.fontSize);},set_fontFamily:function(value)
{TypeSafety({"String":value});this.element.fontFamily=value;},get_fontFamily:function()
{return(this.element.fontFamily);},set_fontWeight:function(value)
{TypeSafety({"FontWeights":value});this.element.fontWeight=value.element;},get_fontWeight:function()
{return Convert.ToFontWeights(this.element.fontWeight);},set_fontStyle:function(value)
{TypeSafety({"FontStyles":value});this.element.fontStyle=value.element;},get_fontStyle:function()
{return Convert.ToFontStyles(this.element.fontStyle);},set_fontStretch:function(value)
{TypeSafety({"FontStretches":value});this.element.fontStretch=value.element;},get_fontStretch:function()
{return Convert.ToFontStretches(this.element.fontStretch);},set_textDecorations:function(value)
{TypeSafety({"TextDecorations":value});this.element.textDecorations=value.element;},get_textDecorations:function()
{return Convert.ToTextDecorations(this.element.textDecorations);},set_foreground:function(value)
{TypeSafety({"Brush":value});this.element.foreground=value.element;},get_foreground:function()
{return Convert.ToBrush(this.element.foreground);},get_name:function()
{return(this.element.name);},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
Panel=function(PanelXamlElement)
{this.element=PanelXamlElement;}
Panel.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Panel(Host.content.createFromXaml("<Panel />"));}catch(ex){}
if(Host.getHost)
return Panel.CreateNew(Host.getHost());return;}
Panel.prototype={set_children:function(value)
{TypeSafety({"VisualCollection":value});this.element.children=value.element;},get_children:function()
{return Convert.ToVisualCollection(this.element.children);},set_background:function(value)
{TypeSafety({"Brush":value});this.element.background=value.element;},get_background:function()
{return Convert.ToBrush(this.element.background);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
MediaBase=function(MediaBaseXamlElement)
{this.element=MediaBaseXamlElement;}
MediaBase.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new MediaBase(Host.content.createFromXaml("<MediaBase />"));}catch(ex){}
if(Host.getHost)
return MediaBase.CreateNew(Host.getHost());return;}
MediaBase.prototype={set_source:function(value)
{TypeSafety({"String":value});this.element.source=value;},get_source:function()
{return(this.element.source);},set_stretch:function(value)
{TypeSafety({"Stretch":value});this.element.stretch=value.element;},get_stretch:function()
{return Convert.ToStretch(this.element.stretch);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
ImageSL=function(ImageSLXamlElement)
{this.element=ImageSLXamlElement;}
ImageSL.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new ImageSL(Host.content.createFromXaml("<ImageSL />"));}catch(ex){}
if(Host.getHost)
return ImageSL.CreateNew(Host.getHost());return;}
ImageSL.prototype={set_downloadProgress:function(value)
{TypeSafety({"Double":value});this.element.downloadProgress=value;},get_downloadProgress:function()
{return(this.element.downloadProgress);},set_source:function(value)
{TypeSafety({"String":value});this.element.source=value;},get_source:function()
{return(this.element.source);},set_stretch:function(value)
{TypeSafety({"Stretch":value});this.element.stretch=value.element;},get_stretch:function()
{return Convert.ToStretch(this.element.stretch);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},setSource:function(Downloader,PartName)
{TypeSafety({"DependencyObject":Downloader,"String":PartName});return(this.element.setSource(Downloader.element,PartName));},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_ImageFailed:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("ImageFailed",handler);},remove_ImageFailed:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("ImageFailed",eventId)},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
Canvas=function(CanvasXamlElement)
{this.element=CanvasXamlElement;}
Canvas.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Canvas(Host.content.createFromXaml("<Canvas />"));}catch(ex){}
if(Host.getHost)
return Canvas.CreateNew(Host.getHost());return;}
Canvas.prototype={set_children:function(value)
{TypeSafety({"VisualCollection":value});this.element.children=value.element;},get_children:function()
{return Convert.ToVisualCollection(this.element.children);},set_background:function(value)
{TypeSafety({"Brush":value});this.element.background=value.element;},get_background:function()
{return Convert.ToBrush(this.element.background);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
TextBlock=function(TextBlockXamlElement)
{this.element=TextBlockXamlElement;}
TextBlock.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new TextBlock(Host.content.createFromXaml("<TextBlock />"));}catch(ex){}
if(Host.getHost)
return TextBlock.CreateNew(Host.getHost());return;}
TextBlock.prototype={set_fontSize:function(value)
{TypeSafety({"Double":value});this.element.fontSize=value;},get_fontSize:function()
{return(this.element.fontSize);},set_fontFamily:function(value)
{TypeSafety({"String":value});this.element.fontFamily=value;},get_fontFamily:function()
{return(this.element.fontFamily);},set_fontWeight:function(value)
{TypeSafety({"FontWeights":value});this.element.fontWeight=value.element;},get_fontWeight:function()
{return Convert.ToFontWeights(this.element.fontWeight);},set_fontStyle:function(value)
{TypeSafety({"FontStyles":value});this.element.fontStyle=value.element;},get_fontStyle:function()
{return Convert.ToFontStyles(this.element.fontStyle);},set_fontStretch:function(value)
{TypeSafety({"FontStretches":value});this.element.fontStretch=value.element;},get_fontStretch:function()
{return Convert.ToFontStretches(this.element.fontStretch);},set_textDecorations:function(value)
{TypeSafety({"TextDecorations":value});this.element.textDecorations=value.element;},get_textDecorations:function()
{return Convert.ToTextDecorations(this.element.textDecorations);},set_foreground:function(value)
{TypeSafety({"Brush":value});this.element.foreground=value.element;},get_foreground:function()
{return Convert.ToBrush(this.element.foreground);},set_textWrapping:function(value)
{TypeSafety({"TextWrapping":value});this.element.textWrapping=value.element;},get_textWrapping:function()
{return Convert.ToTextWrapping(this.element.textWrapping);},set_text:function(value)
{TypeSafety({"String":value});this.element.text=value;},get_text:function()
{return(this.element.text);},get_actualWidth:function()
{return(this.element.actualWidth);},get_actualHeight:function()
{return(this.element.actualHeight);},set_inlines:function(value)
{TypeSafety({"Inlines":value});this.element.inlines=value.element;},get_inlines:function()
{return Convert.ToInlines(this.element.inlines);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},setFontSource:function(Downloader)
{TypeSafety({"DependencyObject":Downloader});return(this.element.setFontSource(Downloader.element));},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
MediaElement=function(MediaElementXamlElement)
{this.element=MediaElementXamlElement;}
MediaElement.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new MediaElement(Host.content.createFromXaml("<MediaElement />"));}catch(ex){}
if(Host.getHost)
return MediaElement.CreateNew(Host.getHost());return;}
MediaElement.prototype={set_isMuted:function(value)
{TypeSafety({"Boolean":value});this.element.isMuted=value;},get_isMuted:function()
{return(this.element.isMuted);},set_autoPlay:function(value)
{TypeSafety({"Boolean":value});this.element.autoPlay=value;},get_autoPlay:function()
{return(this.element.autoPlay);},set_volume:function(value)
{TypeSafety({"Double":value});this.element.volume=value;},get_volume:function()
{return(this.element.volume);},set_balance:function(value)
{TypeSafety({"Double":value});this.element.balance=value;},get_balance:function()
{return(this.element.balance);},set_naturalVideoHeight:function(value)
{TypeSafety({"Double":value});this.element.naturalVideoHeight=value;},get_naturalVideoHeight:function()
{return(this.element.naturalVideoHeight);},set_naturalVideoWidth:function(value)
{TypeSafety({"Double":value});this.element.naturalVideoWidth=value;},get_naturalVideoWidth:function()
{return(this.element.naturalVideoWidth);},set_naturalDuration:function(value)
{TypeSafety({"Duration":value});this.element.naturalDuration=value.element;},get_naturalDuration:function()
{return Convert.ToDuration(this.element.naturalDuration);},set_position:function(value)
{TypeSafety({"String":value});this.element.position=value;},get_position:function()
{return(this.element.position);},set_downloadProgress:function(value)
{TypeSafety({"Double":value});this.element.downloadProgress=value;},get_downloadProgress:function()
{return(this.element.downloadProgress);},set_bufferingProgress:function(value)
{TypeSafety({"Double":value});this.element.bufferingProgress=value;},get_bufferingProgress:function()
{return(this.element.bufferingProgress);},get_currentState:function()
{return(this.element.currentState);},set_bufferingTime:function(value)
{TypeSafety({"String":value});this.element.bufferingTime=value;},get_bufferingTime:function()
{return(this.element.bufferingTime);},set_markers:function(value)
{TypeSafety({"TimelineMarkerCollection":value});this.element.markers=value.element;},get_markers:function()
{return Convert.ToTimelineMarkerCollection(this.element.markers);},get_canSeek:function()
{return(this.element.canSeek);},get_canPause:function()
{return(this.element.canPause);},set_attributes:function(value)
{TypeSafety({"MediaAttributeCollection":value});this.element.attributes=value.element;},get_attributes:function()
{return Convert.ToMediaAttributeCollection(this.element.attributes);},set_audioStreamCount:function(value)
{TypeSafety({"Number":value});this.element.audioStreamCount=value;},get_audioStreamCount:function()
{return(this.element.audioStreamCount);},set_audioStreamIndex:function(value)
{TypeSafety({"Number":value});this.element.audioStreamIndex=value;},get_audioStreamIndex:function()
{return(this.element.audioStreamIndex);},set_source:function(value)
{TypeSafety({"String":value});this.element.source=value;},get_source:function()
{return(this.element.source);},set_stretch:function(value)
{TypeSafety({"Stretch":value});this.element.stretch=value.element;},get_stretch:function()
{return Convert.ToStretch(this.element.stretch);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},stop:function()
{TypeSafety({});return(this.element.stop());},play:function()
{TypeSafety({});return(this.element.play());},pause:function()
{TypeSafety({});return(this.element.pause());},setSource:function(Downloader,PartName)
{TypeSafety({"DependencyObject":Downloader,"String":PartName});return(this.element.setSource(Downloader.element,PartName));},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_MediaOpened:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MediaOpened",handler);},remove_MediaOpened:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MediaOpened",eventId)},add_MediaEnded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MediaEnded",handler);},remove_MediaEnded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MediaEnded",eventId)},add_MediaFailed:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MediaFailed",handler);},remove_MediaFailed:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MediaFailed",eventId)},add_DownloadProgressChanged:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("DownloadProgressChanged",handler);},remove_DownloadProgressChanged:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("DownloadProgressChanged",eventId)},add_BufferingProgressChanged:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("BufferingProgressChanged",handler);},remove_BufferingProgressChanged:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("BufferingProgressChanged",eventId)},add_CurrentStateChanged:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("CurrentStateChanged",handler);},remove_CurrentStateChanged:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("CurrentStateChanged",eventId)},add_MarkerReached:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MarkerReached",handler);},remove_MarkerReached:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MarkerReached",eventId)},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
InkPresenter=function(InkPresenterXamlElement)
{this.element=InkPresenterXamlElement;}
InkPresenter.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new InkPresenter(Host.content.createFromXaml("<InkPresenter />"));}catch(ex){}
if(Host.getHost)
return InkPresenter.CreateNew(Host.getHost());return;}
InkPresenter.prototype={set_strokes:function(value)
{TypeSafety({"StrokeCollection":value});this.element.strokes=value.element;},get_strokes:function()
{return Convert.ToStrokeCollection(this.element.strokes);},set_children:function(value)
{TypeSafety({"VisualCollection":value});this.element.children=value.element;},get_children:function()
{return Convert.ToVisualCollection(this.element.children);},set_background:function(value)
{TypeSafety({"Brush":value});this.element.background=value.element;},get_background:function()
{return Convert.ToBrush(this.element.background);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
Control=function(ControlXamlElement)
{this.element=ControlXamlElement;}
Control.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Control(Host.content.createFromXaml("<Control />"));}catch(ex){}
if(Host.getHost)
return Control.CreateNew(Host.getHost());return;}
Control.prototype={set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_parent:function()
{return(this.element.parent);},set_opacity:function(value)
{TypeSafety({"Double":value});this.element.opacity=value;},get_opacity:function()
{return(this.element.opacity);},set_clip:function(value)
{TypeSafety({"Geometry":value});this.element.clip=value.element;},get_clip:function()
{return Convert.ToGeometry(this.element.clip);},set_renderTransform:function(value)
{TypeSafety({"Transform":value});this.element.renderTransform=value.element;},get_renderTransform:function()
{return Convert.ToTransform(this.element.renderTransform);},set_triggers:function(value)
{TypeSafety({"TriggerCollection":value});this.element.triggers=value.element;},get_triggers:function()
{return Convert.ToTriggerCollection(this.element.triggers);},set_opacityMask:function(value)
{TypeSafety({"Brush":value});this.element.opacityMask=value.element;},get_opacityMask:function()
{return Convert.ToBrush(this.element.opacityMask);},set_renderTransformOrigin:function(value)
{TypeSafety({"Point":value});this.element.renderTransformOrigin=value.element;},get_renderTransformOrigin:function()
{return Convert.ToPoint(this.element.renderTransformOrigin);},set_cursor:function(value)
{TypeSafety({"Cursors":value});this.element.cursor=value.element;},get_cursor:function()
{return Convert.ToCursors(this.element.cursor);},set_isHitTestVisible:function(value)
{TypeSafety({"Boolean":value});this.element.isHitTestVisible=value;},get_isHitTestVisible:function()
{return(this.element.isHitTestVisible);},set_visibility:function(value)
{TypeSafety({"Visibility":value});this.element.visibility=value.element;},get_visibility:function()
{return Convert.ToVisibility(this.element.visibility);},set_resources:function(value)
{TypeSafety({"ResourceDictionary":value});this.element.resources=value.element;},get_resources:function()
{return Convert.ToResourceDictionary(this.element.resources);},set_tag:function(value)
{TypeSafety({"String":value});this.element.tag=value;},get_tag:function()
{return(this.element.tag);},get_name:function()
{return(this.element.name);},captureMouse:function()
{TypeSafety({});return(this.element.captureMouse());},releaseMouseCapture:function()
{TypeSafety({});return(this.element.releaseMouseCapture());},setValue:function(property,obj)
{TypeSafety({"DependencyProperty":property,"T":obj});return(this.element.setValue(property.element,obj));},findName:function(name)
{TypeSafety({"String":name});return Convert.ToDependencyObject(this.element.findName(name));},getValue:function(property)
{TypeSafety({"DependencyProperty":property});return(this.element.getValue(property.element));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_Loaded:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Loaded",handler);},remove_Loaded:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Loaded",eventId)},add_MouseMove:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseMove",handler);},remove_MouseMove:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseMove",eventId)},add_MouseEnter:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseEnter",handler);},remove_MouseEnter:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseEnter",eventId)},add_MouseLeave:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeave",handler);},remove_MouseLeave:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeave",eventId)},add_MouseLeftButtonDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonDown",handler);},remove_MouseLeftButtonDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonDown",eventId)},add_MouseLeftButtonUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("MouseLeftButtonUp",handler);},remove_MouseLeftButtonUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("MouseLeftButtonUp",eventId)},add_KeyUp:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyUp",handler);},remove_KeyUp:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyUp",eventId)},add_KeyDown:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("KeyDown",handler);},remove_KeyDown:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("KeyDown",eventId)},add_GotFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("GotFocus",handler);},remove_GotFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("GotFocus",eventId)},add_LostFocus:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("LostFocus",handler);},remove_LostFocus:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("LostFocus",eventId)}}
Duration=function(DurationXamlElement)
{this.element=DurationXamlElement;}
Duration.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Duration(Host.content.createFromXaml("<Duration />"));}catch(ex){}
if(Host.getHost)
return Duration.CreateNew(Host.getHost());return;}
Duration.prototype={get_hasTimeSpan:function()
{return(this.element.hasTimeSpan);},get_automatic:function()
{return Convert.ToDuration(this.element.automatic);},get_forever:function()
{return Convert.ToDuration(this.element.forever);},get_timeSpan:function()
{return(this.element.timeSpan);},compare:function(t1,t2)
{TypeSafety({"Duration":t1,"Duration":t2});return(this.element.compare(t1.element,t2.element));},plus:function(duration)
{TypeSafety({"Duration":duration});return Convert.ToDuration(this.element.plus(duration.element));},add:function(duration)
{TypeSafety({"Duration":duration});return Convert.ToDuration(this.element.add(duration.element));},equals:function(value)
{TypeSafety({"Object":value});return(this.element.equals(value));},equals:function(duration)
{TypeSafety({"Duration":duration});return(this.element.equals(duration.element));},equals:function(t1,t2)
{TypeSafety({"Duration":t1,"Duration":t2});return(this.element.equals(t1.element,t2.element));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},subtract:function(duration)
{TypeSafety({"Duration":duration});return Convert.ToDuration(this.element.subtract(duration.element));},toString:function()
{TypeSafety({});return(this.element.toString());},getType:function()
{TypeSafety({});return(this.element.getType());}}
XamlParseException=function(XamlParseExceptionXamlElement)
{this.element=XamlParseExceptionXamlElement;}
XamlParseException.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new XamlParseException(Host.content.createFromXaml("<XamlParseException />"));}catch(ex){}
if(Host.getHost)
return XamlParseException.CreateNew(Host.getHost());return;}
XamlParseException.prototype={get_lineNumber:function()
{return(this.element.lineNumber);},get_linePosition:function()
{return(this.element.linePosition);},get_message:function()
{return(this.element.message);},get_data:function()
{return(this.element.data);},get_innerException:function()
{return(this.element.innerException);},get_targetSite:function()
{return(this.element.targetSite);},get_stackTrace:function()
{return(this.element.stackTrace);},set_helpLink:function(value)
{TypeSafety({"String":value});this.element.helpLink=value;},get_helpLink:function()
{return(this.element.helpLink);},set_source:function(value)
{TypeSafety({"String":value});this.element.source=value;},get_source:function()
{return(this.element.source);},getBaseException:function()
{TypeSafety({});return(this.element.getBaseException());},toString:function()
{TypeSafety({});return(this.element.toString());},getType:function()
{TypeSafety({});return(this.element.getType());},getObjectData:function(info,context)
{TypeSafety({"SerializationInfo":info,"StreamingContext":context});return(this.element.getObjectData(info,context));},getType:function()
{TypeSafety({});return(this.element.getType());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
BrowserHost=function(BrowserHostXamlElement)
{this.element=BrowserHostXamlElement;}
BrowserHost.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new BrowserHost(Host.content.createFromXaml("<BrowserHost />"));}catch(ex){}
if(Host.getHost)
return BrowserHost.CreateNew(Host.getHost());return;}
BrowserHost.prototype={get_actualWidth:function()
{return(this.element.actualWidth);},get_actualHeight:function()
{return(this.element.actualHeight);},set_isFullScreen:function(value)
{TypeSafety({"Boolean":value});this.element.isFullScreen=value;},get_isFullScreen:function()
{return(this.element.isFullScreen);},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},add_FullScreenChange:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("FullScreenChange",handler);},remove_FullScreenChange:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("FullScreenChange",eventId)},add_Resize:function(handler){TypeSafety({"Function":handler});return this.element.addEventListener("Resize",handler);},remove_Resize:function(eventId){TypeSafety({"Number":eventId});this.element.removeEventListener("Resize",eventId)}}
RepeatBehavior=function(RepeatBehaviorXamlElement)
{this.element=RepeatBehaviorXamlElement;}
RepeatBehavior.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new RepeatBehavior(Host.content.createFromXaml("<RepeatBehavior />"));}catch(ex){}
if(Host.getHost)
return RepeatBehavior.CreateNew(Host.getHost());return;}
RepeatBehavior.prototype={get_forever:function()
{return Convert.ToRepeatBehavior(this.element.forever);},get_hasCount:function()
{return(this.element.hasCount);},get_hasDuration:function()
{return(this.element.hasDuration);},get_count:function()
{return(this.element.count);},get_duration:function()
{return(this.element.duration);},equals:function(value)
{TypeSafety({"Object":value});return(this.element.equals(value));},equals:function(repeatBehavior)
{TypeSafety({"RepeatBehavior":repeatBehavior});return(this.element.equals(repeatBehavior.element));},equals:function(repeatBehavior1,repeatBehavior2)
{TypeSafety({"RepeatBehavior":repeatBehavior1,"RepeatBehavior":repeatBehavior2});return(this.element.equals(repeatBehavior1.element,repeatBehavior2.element));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},getType:function()
{TypeSafety({});return(this.element.getType());}}
KeyTime=function(KeyTimeXamlElement)
{this.element=KeyTimeXamlElement;}
KeyTime.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new KeyTime(Host.content.createFromXaml("<KeyTime />"));}catch(ex){}
if(Host.getHost)
return KeyTime.CreateNew(Host.getHost());return;}
KeyTime.prototype={get_uniform:function()
{return Convert.ToKeyTime(this.element.uniform);},get_paced:function()
{return Convert.ToKeyTime(this.element.paced);},get_timeSpan:function()
{return(this.element.timeSpan);},get_percent:function()
{return(this.element.percent);},get_type:function()
{return Convert.ToKeyTimeType(this.element.type);},fromPercent:function(percent)
{TypeSafety({"Double":percent});return Convert.ToKeyTime(this.element.fromPercent(percent));},fromTimeSpan:function(timeSpan)
{TypeSafety({"String":timeSpan});return Convert.ToKeyTime(this.element.fromTimeSpan(timeSpan));},equals:function(keyTime1,keyTime2)
{TypeSafety({"KeyTime":keyTime1,"KeyTime":keyTime2});return(this.element.equals(keyTime1.element,keyTime2.element));},equals:function(value)
{TypeSafety({"KeyTime":value});return(this.element.equals(value.element));},equals:function(value)
{TypeSafety({"Object":value});return(this.element.equals(value));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},getType:function()
{TypeSafety({});return(this.element.getType());}}
KeyTimeType=function(KeyTimeTypeXamlElement)
{this.element=KeyTimeTypeXamlElement;}
KeyTimeType.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new KeyTimeType(Host.content.createFromXaml("<KeyTimeType />"));}catch(ex){}
if(Host.getHost)
return KeyTimeType.CreateNew(Host.getHost());return;}
KeyTimeType.prototype={equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},toString:function(format,provider)
{TypeSafety({"String":format,"IFormatProvider":provider});return(this.element.toString(format,provider));},compareTo:function(target)
{TypeSafety({"Object":target});return(this.element.compareTo(target));},toString:function(format)
{TypeSafety({"String":format});return(this.element.toString(format));},toString:function(provider)
{TypeSafety({"IFormatProvider":provider});return(this.element.toString(provider));},getTypeCode:function()
{TypeSafety({});return(this.element.getTypeCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
Matrix=function(MatrixXamlElement)
{this.element=MatrixXamlElement;}
Matrix.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Matrix(Host.content.createFromXaml("<Matrix />"));}catch(ex){}
if(Host.getHost)
return Matrix.CreateNew(Host.getHost());return;}
Matrix.prototype={get_identity:function()
{return Convert.ToMatrix(this.element.identity);},get_isIdentity:function()
{return(this.element.isIdentity);},set_m11:function(value)
{TypeSafety({"Double":value});this.element.m11=value;},get_m11:function()
{return(this.element.m11);},set_m12:function(value)
{TypeSafety({"Double":value});this.element.m12=value;},get_m12:function()
{return(this.element.m12);},set_m21:function(value)
{TypeSafety({"Double":value});this.element.m21=value;},get_m21:function()
{return(this.element.m21);},set_m22:function(value)
{TypeSafety({"Double":value});this.element.m22=value;},get_m22:function()
{return(this.element.m22);},set_offsetX:function(value)
{TypeSafety({"Double":value});this.element.offsetX=value;},get_offsetX:function()
{return(this.element.offsetX);},set_offsetY:function(value)
{TypeSafety({"Double":value});this.element.offsetY=value;},get_offsetY:function()
{return(this.element.offsetY);},setIdentity:function()
{TypeSafety({});return(this.element.setIdentity());},equals:function(matrix1,matrix2)
{TypeSafety({"Matrix":matrix1,"Matrix":matrix2});return(this.element.equals(matrix1.element,matrix2.element));},equals:function(o)
{TypeSafety({"Object":o});return(this.element.equals(o));},equals:function(value)
{TypeSafety({"Matrix":value});return(this.element.equals(value.element));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},getType:function()
{TypeSafety({});return(this.element.getType());}}
Rect=function(RectXamlElement)
{this.element=RectXamlElement;}
Rect.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Rect(Host.content.createFromXaml("<Rect />"));}catch(ex){}
if(Host.getHost)
return Rect.CreateNew(Host.getHost());return;}
Rect.prototype={get_empty:function()
{return Convert.ToRect(this.element.empty);},get_isEmpty:function()
{return(this.element.isEmpty);},set_location:function(value)
{TypeSafety({"Point":value});this.element.location=value.element;},get_location:function()
{return Convert.ToPoint(this.element.location);},set_size:function(value)
{TypeSafety({"Size":value});this.element.size=value.element;},get_size:function()
{return Convert.ToSize(this.element.size);},set_x:function(value)
{TypeSafety({"Double":value});this.element.x=value;},get_x:function()
{return(this.element.x);},set_y:function(value)
{TypeSafety({"Double":value});this.element.y=value;},get_y:function()
{return(this.element.y);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},get_left:function()
{return(this.element.left);},get_top:function()
{return(this.element.top);},get_right:function()
{return(this.element.right);},get_bottom:function()
{return(this.element.bottom);},get_topLeft:function()
{return Convert.ToPoint(this.element.topLeft);},get_topRight:function()
{return Convert.ToPoint(this.element.topRight);},get_bottomLeft:function()
{return Convert.ToPoint(this.element.bottomLeft);},get_bottomRight:function()
{return Convert.ToPoint(this.element.bottomRight);},toString:function()
{TypeSafety({});return(this.element.toString());},contains:function(point)
{TypeSafety({"Point":point});return(this.element.contains(point.element));},contains:function(x,y)
{TypeSafety({"Double":x,"Double":y});return(this.element.contains(x,y));},contains:function(rect)
{TypeSafety({"Rect":rect});return(this.element.contains(rect.element));},intersectsWith:function(rect)
{TypeSafety({"Rect":rect});return(this.element.intersectsWith(rect.element));},intersect:function(rect)
{TypeSafety({"Rect":rect});return(this.element.intersect(rect.element));},intersect:function(rect1,rect2)
{TypeSafety({"Rect":rect1,"Rect":rect2});return Convert.ToRect(this.element.intersect(rect1.element,rect2.element));},union:function(rect)
{TypeSafety({"Rect":rect});return(this.element.union(rect.element));},union:function(rect1,rect2)
{TypeSafety({"Rect":rect1,"Rect":rect2});return Convert.ToRect(this.element.union(rect1.element,rect2.element));},union:function(point)
{TypeSafety({"Point":point});return(this.element.union(point.element));},union:function(rect,point)
{TypeSafety({"Rect":rect,"Point":point});return Convert.ToRect(this.element.union(rect.element,point.element));},offset:function(offsetX,offsetY)
{TypeSafety({"Double":offsetX,"Double":offsetY});return(this.element.offset(offsetX,offsetY));},offset:function(rect,offsetX,offsetY)
{TypeSafety({"Rect":rect,"Double":offsetX,"Double":offsetY});return Convert.ToRect(this.element.offset(rect.element,offsetX,offsetY));},inflate:function(size)
{TypeSafety({"Size":size});return(this.element.inflate(size.element));},inflate:function(width,height)
{TypeSafety({"Double":width,"Double":height});return(this.element.inflate(width,height));},inflate:function(rect,size)
{TypeSafety({"Rect":rect,"Size":size});return Convert.ToRect(this.element.inflate(rect.element,size.element));},inflate:function(rect,width,height)
{TypeSafety({"Rect":rect,"Double":width,"Double":height});return Convert.ToRect(this.element.inflate(rect.element,width,height));},scale:function(scaleX,scaleY)
{TypeSafety({"Double":scaleX,"Double":scaleY});return(this.element.scale(scaleX,scaleY));},equals:function(rect1,rect2)
{TypeSafety({"Rect":rect1,"Rect":rect2});return(this.element.equals(rect1.element,rect2.element));},equals:function(o)
{TypeSafety({"Object":o});return(this.element.equals(o));},equals:function(value)
{TypeSafety({"Rect":value});return(this.element.equals(value.element));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},getType:function()
{TypeSafety({});return(this.element.getType());}}
Point=function(PointXamlElement)
{this.element=PointXamlElement;}
Point.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Point(Host.content.createFromXaml("<Point />"));}catch(ex){}
if(Host.getHost)
return Point.CreateNew(Host.getHost());return;}
Point.prototype={set_x:function(value)
{TypeSafety({"Double":value});this.element.x=value;},get_x:function()
{return(this.element.x);},set_y:function(value)
{TypeSafety({"Double":value});this.element.y=value;},get_y:function()
{return(this.element.y);},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(point1,point2)
{TypeSafety({"Point":point1,"Point":point2});return(this.element.equals(point1.element,point2.element));},equals:function(o)
{TypeSafety({"Object":o});return(this.element.equals(o));},equals:function(value)
{TypeSafety({"Point":value});return(this.element.equals(value.element));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},offset:function(offsetX,offsetY)
{TypeSafety({"Double":offsetX,"Double":offsetY});return(this.element.offset(offsetX,offsetY));},getType:function()
{TypeSafety({});return(this.element.getType());}}
Size=function(SizeXamlElement)
{this.element=SizeXamlElement;}
Size.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Size(Host.content.createFromXaml("<Size />"));}catch(ex){}
if(Host.getHost)
return Size.CreateNew(Host.getHost());return;}
Size.prototype={get_empty:function()
{return Convert.ToSize(this.element.empty);},get_isEmpty:function()
{return(this.element.isEmpty);},set_width:function(value)
{TypeSafety({"Double":value});this.element.width=value;},get_width:function()
{return(this.element.width);},set_height:function(value)
{TypeSafety({"Double":value});this.element.height=value;},get_height:function()
{return(this.element.height);},equals:function(size1,size2)
{TypeSafety({"Size":size1,"Size":size2});return(this.element.equals(size1.element,size2.element));},equals:function(o)
{TypeSafety({"Object":o});return(this.element.equals(o));},equals:function(value)
{TypeSafety({"Size":value});return(this.element.equals(value.element));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},getType:function()
{TypeSafety({});return(this.element.getType());}}
Color=function(ColorXamlElement)
{this.element=ColorXamlElement;}
Color.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Color(Host.content.createFromXaml("<Color />"));}catch(ex){}
if(Host.getHost)
return Color.CreateNew(Host.getHost());return;}
Color.prototype={set_a:function(value)
{TypeSafety({"Byte":value});this.element.a=value;},get_a:function()
{return(this.element.a);},set_r:function(value)
{TypeSafety({"Byte":value});this.element.r=value;},get_r:function()
{return(this.element.r);},set_g:function(value)
{TypeSafety({"Byte":value});this.element.g=value;},get_g:function()
{return(this.element.g);},set_b:function(value)
{TypeSafety({"Byte":value});this.element.b=value;},get_b:function()
{return(this.element.b);},set_scA:function(value)
{TypeSafety({"Single":value});this.element.scA=value;},get_scA:function()
{return(this.element.scA);},set_scR:function(value)
{TypeSafety({"Single":value});this.element.scR=value;},get_scR:function()
{return(this.element.scR);},set_scG:function(value)
{TypeSafety({"Single":value});this.element.scG=value;},get_scG:function()
{return(this.element.scG);},set_scB:function(value)
{TypeSafety({"Single":value});this.element.scB=value;},get_scB:function()
{return(this.element.scB);},fromScRgb:function(a,r,g,b)
{TypeSafety({"Single":a,"Single":r,"Single":g,"Single":b});return Convert.ToColor(this.element.fromScRgb(a,r,g,b));},fromArgb:function(a,r,g,b)
{TypeSafety({"Byte":a,"Byte":r,"Byte":g,"Byte":b});return Convert.ToColor(this.element.fromArgb(a,r,g,b));},fromRgb:function(r,g,b)
{TypeSafety({"Byte":r,"Byte":g,"Byte":b});return Convert.ToColor(this.element.fromRgb(r,g,b));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());},toString:function()
{TypeSafety({});return(this.element.toString());},areClose:function(color1,color2)
{TypeSafety({"Color":color1,"Color":color2});return(this.element.areClose(color1.element,color2.element));},clamp:function()
{TypeSafety({});return(this.element.clamp());},add:function(color1,color2)
{TypeSafety({"Color":color1,"Color":color2});return Convert.ToColor(this.element.add(color1.element,color2.element));},subtract:function(color1,color2)
{TypeSafety({"Color":color1,"Color":color2});return Convert.ToColor(this.element.subtract(color1.element,color2.element));},multiply:function(color,coefficient)
{TypeSafety({"Color":color,"Single":coefficient});return Convert.ToColor(this.element.multiply(color.element,coefficient));},equals:function(color1,color2)
{TypeSafety({"Color":color1,"Color":color2});return(this.element.equals(color1.element,color2.element));},equals:function(color)
{TypeSafety({"Color":color});return(this.element.equals(color.element));},equals:function(o)
{TypeSafety({"Object":o});return(this.element.equals(o));},getType:function()
{TypeSafety({});return(this.element.getType());}}
Colors=function(ColorsXamlElement)
{this.element=ColorsXamlElement;}
Colors.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new Colors(Host.content.createFromXaml("<Colors />"));}catch(ex){}
if(Host.getHost)
return Colors.CreateNew(Host.getHost());return;}
Colors.prototype={get_black:function()
{return Convert.ToColor(this.element.black);},get_blue:function()
{return Convert.ToColor(this.element.blue);},get_brown:function()
{return Convert.ToColor(this.element.brown);},get_cyan:function()
{return Convert.ToColor(this.element.cyan);},get_darkGray:function()
{return Convert.ToColor(this.element.darkGray);},get_gray:function()
{return Convert.ToColor(this.element.gray);},get_green:function()
{return Convert.ToColor(this.element.green);},get_lightGray:function()
{return Convert.ToColor(this.element.lightGray);},get_magenta:function()
{return Convert.ToColor(this.element.magenta);},get_orange:function()
{return Convert.ToColor(this.element.orange);},get_purple:function()
{return Convert.ToColor(this.element.purple);},get_red:function()
{return Convert.ToColor(this.element.red);},get_transparent:function()
{return Convert.ToColor(this.element.transparent);},get_white:function()
{return Convert.ToColor(this.element.white);},get_yellow:function()
{return Convert.ToColor(this.element.yellow);},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
XamlReader=function(XamlReaderXamlElement)
{this.element=XamlReaderXamlElement;}
XamlReader.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new XamlReader(Host.content.createFromXaml("<XamlReader />"));}catch(ex){}
if(Host.getHost)
return XamlReader.CreateNew(Host.getHost());return;}
XamlReader.prototype={load:function(xaml)
{TypeSafety({"String":xaml});return Convert.ToDependencyObject(this.element.load(xaml));},load:function(xaml,createNamescope)
{TypeSafety({"String":xaml,"Boolean":createNamescope});return Convert.ToDependencyObject(this.element.load(xaml,createNamescope));},getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}
DependencyProperty=function(DependencyPropertyXamlElement)
{this.element=DependencyPropertyXamlElement;}
DependencyProperty.createFromXaml=function(Host)
{if(!Host)
return;try{if(Host.content)
return new DependencyProperty(Host.content.createFromXaml("<DependencyProperty />"));}catch(ex){}
if(Host.getHost)
return DependencyProperty.CreateNew(Host.getHost());return;}
DependencyProperty.prototype={getType:function()
{TypeSafety({});return(this.element.getType());},toString:function()
{TypeSafety({});return(this.element.toString());},equals:function(obj)
{TypeSafety({"Object":obj});return(this.element.equals(obj));},getHashCode:function()
{TypeSafety({});return(this.element.getHashCode());}}